tree-sitter-javascript icon indicating copy to clipboard operation
tree-sitter-javascript copied to clipboard

Fix: allow auto-semicolon insertion before prefix-less decimal literals

Open jackschu opened this issue 1 year ago • 0 comments

1
.2

was resulting in

program [0, 0] - [2, 0]
  ERROR [0, 0] - [1, 1]
    number [0, 0] - [0, 1]
  expression_statement [1, 1] - [1, 2]
    number [1, 1] - [1, 2]

Because auto-semi-insertion was not allowed before .

jackschu avatar Jul 01 '24 05:07 jackschu