Wrong lookahead when parsing for loop const variable. #5629
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Milestone
See:
tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t02.dart
tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t04.dart
regis@belenos:
/dart1/dart/runtime$ out/DebugIA32/dart --ignore-unrecognized-flags /usr/local/google/home/regis/dart1/dart/tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t02.dart/dart1/dart/runtime$ out/DebugIA32/dart --ignore-unrecognized-flags /usr/local/google/home/regis/dart1/dart/tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t04.dart'file:///usr/local/google/home/regis/dart1/dart/tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t02.dart': Error: line 32 pos 19: '(' expected
for (const id in e);
^
regis@belenos:
'file:///usr/local/google/home/regis/dart1/dart/tests/co19/src/Language/11_Statements/05_For/2_For_in_A01_t04.dart': Error: line 38 pos 20: '(' expected
for ( const id in l ) {
^
The text was updated successfully, but these errors were encountered: