I noticed when testing #93 that npm test reports errors in parsing several of the example files:
examples/regex/regex-syntax/src/ast/parse.rs 17 ms (ERROR [1737, 22] - [1737, 27])
examples/regex/regex-syntax/src/hir/interval.rs 1 ms (ERROR [288, 28] - [288, 33])
examples/serde/serde_derive/src/de.rs 9 ms (ERROR [636, 16] - [636, 25])
examples/serde/serde_derive/src/internals/attr.rs 5 ms (ERROR [186, 24] - [186, 30])
examples/serde/serde_derive_internals/src/attr.rs 5 ms (ERROR [186, 24] - [186, 30])
git bisect identifies a360da0a29a19c281d08295a35ecd0544d2da211 as the first bad commit, and it looks like many of the errors occur when default or union are used as variable names. For example, examples/serde/serde_derive/src/internals/attr.rs contains
I noticed when testing #93 that
npm test
reports errors in parsing several of the example files:git bisect
identifies a360da0a29a19c281d08295a35ecd0544d2da211 as the first bad commit, and it looks like many of the errors occur whendefault
orunion
are used as variable names. For example,examples/serde/serde_derive/src/internals/attr.rs
containswhich parses as
Before a360da0, that line parsed as