-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dart2js fails to resolve optional functional parameter with default value. #4597
Comments
This is one of the things I'm willing to let slip, but please raise the priority if you disagree. Added this to the M1 milestone. |
Changed the title to: "Dart2js fails to resolve optional functional parameter with default value.". |
Issue #5026 has been merged into this issue. |
I ran into this today. I wouldn't suggest trying to squeeze it into M1 at this point, but calling it "Low" doesn't seem right. |
Removed Priority-Low label. |
Marked this as blocking #5870. |
Removed this from the M2 milestone. |
Added this to the M2 milestone. |
Set owner to @peter-ahe-google. |
Confirmed/reproduced in Dart SDK version 0.2.2.1_r14458 |
Issue #6729 has been merged into this issue. |
Bumping priority: this is the issue I have with most stars. Removed Priority-Medium label. |
Johnni, if you've got a few cycles maybe you can help Peter with this? cc @johnniwinther. |
Set owner to [email protected]. |
Example:
foo(x, y, [int z(a,b) = bar]) => z(x,y);
reports:
funcarg.dart:3:12: Internal error: expected optional parameters
foo(x, y, [int z(a,b) = bar]) => z(x,y);
^^^^^^^^^^^^^^^^^
The error is triggered in resolver.dart line 2242:
5 SignatureResolver.analyzeNodes (file:///.../dart/lib/compiler/implementation/resolver.dart:2242:24)
(Dart2js still don't support functions as compile time constants, but this error seems unrelated to that).
The text was updated successfully, but these errors were encountered: