c399230767
* Retain comments inside return statements by including the return keyword in the parse tree
* Revert "Retain comments inside return statements by including the return keyword in the parse tree"
This reverts commit 5d2142edb1
.
* Readd test
* Function for handling printing comments on a token
7 lines
No EOL
130 B
TypeScript
7 lines
No EOL
130 B
TypeScript
// allowJs: true
|
|
// checkJs: true
|
|
// outDir: out/
|
|
// filename: input.js
|
|
function f() {
|
|
return /* @type {number} */ 42;
|
|
} |