You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source_file allows BLANK to follow _top_level_declaration in src/grammar.json. This is resulting in an AST that doesn't appear to be valid. The following code parses without error or the addition of any zero-width tokens, but it does not compile:
package a package b package c package d
This is due to the optional(terminator) in the relevant section of the source_file rule in grammar.js. Is this intended?
The text was updated successfully, but these errors were encountered:
I suspect in practice it's less trouble to make the parsers overgenerous in what they accept than to have to analyze the dark corners perfectly (where compilers often have bugs too).
source_file
allowsBLANK
to follow_top_level_declaration
insrc/grammar.json
. This is resulting in an AST that doesn't appear to be valid. The following code parses without error or the addition of any zero-width tokens, but it does not compile:This is due to the
optional(terminator)
in the relevant section of thesource_file
rule ingrammar.js
. Is this intended?The text was updated successfully, but these errors were encountered: