-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Refs: https://github.com/nodejs/amaro/pull/202/files
for example the syntax const foo;.
throws this error:
{
"code": "InvalidSyntax",
"message": "'const' declarations must be initialized",
"snippet": "foo",
"filename": "<anon>",
"line": 1,
"column": 6
}Note that snippet foo does not give enough info.
The snippet should be:
const foo; and have startColumn and endColumn so we can mark the syntax thats incorrect, or
directly something like:
const foo;
^^^
I know you are already aware of it, creating this issue to track.
Thanks for your work <3
Reactions are currently unavailable