You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just looked at this and it is a bug (even 2 separate bugs!) in the look-ahead parsing code in the VM, which does not recognize the line as a variable declaration.
I'll fix it tomorrow.
Example code:
causes the error message:
Removing the
<int Function()>
on line 4 makes the code work. This runs in dart2js, but also crashes the analyzer.The text was updated successfully, but these errors were encountered: