Closed coderaiser closed 3 months ago
Looks like a parser bug.
Comments are tokenised and then some should be stored in the AST for hover information etc but there are some edge cases ATM.
Will take a look when I have some free time. Or expose the option where the parser skips comments
Given a few lines below there is a async
function, which it currently doesn't work in Ezno. It might be a while before you can check that file.
In some recent version, ObjectLiteralMember::Comment
has been added. So this parses now with all comments on
Additionally when used in the checker, the parser doesn't parse comments that aren't doc comments etc
async
still isn't properly supported so that file still won't type check correctly. But the parse error is fixed!
Strange error for this code: