We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba6297 commit a014b7fCopy full SHA for a014b7f
CHANGES.md
@@ -3,6 +3,7 @@
3
* Compiler: jsoo link archive with -a (#1428)
4
5
## Bug fixes
6
+* Compiler (js parser): fix parsing of js labels (fix #1440)
7
8
# 5.1.1 (2023-03-15) - Lille
9
compiler/lib/js_parser.mly
@@ -509,9 +509,7 @@ stmt1:
509
| debugger_stmt { $1 }
510
511
label:
512
- | T_IDENTIFIER {
513
- let name, _raw = $1 in
514
- Label.of_string name }
+ | id { Label.of_string $1 }
515
516
(* Library definitions *)
517
0 commit comments