Parser error on "combining character" (U+0307) · Issue #3639 · google/closure-compiler (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@skatsman

Description

@skatsman

There seems to be an issue with parsing composite character sequences.

Composite character consist of the base character and combining character sequence (U+0049)(U+0307)
Using this character causing the compiler to fail with the parser error.

Example code

Compiler error

input0:2: ERROR - [JSC_PARSE_ERROR] Parse error. Character '̇' (U+0307) is not a valid identifier start char
  2| İ: "foo"
      ^

1 error(s), 0 warning(s)

Demo

Example