Skip to content

Cannot parse generic function expression call #31059

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

Closed
scheglov opened this issue Oct 10, 2017 · 2 comments
Closed

Cannot parse generic function expression call #31059

scheglov opened this issue Oct 10, 2017 · 2 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@scheglov
Copy link
Contributor

main() {
  var lambdaCall = (<E>(E e) => e)<int>(3);
}
library;
import self as self;

static method #main() → dynamic {
  throw "file:///test.dart:2:39: Error: Expected ';' before this.\n  var lambdaCall = (<E>(E e) => e)<int>(3);\n                                      ^";
}

Works fine in Analyzer and VM.
image

@scheglov scheglov added the legacy-area-front-end Legacy: Use area-dart-model instead. label Oct 10, 2017
@peter-ahe-google
Copy link
Contributor

@scheglov do you have a specification for this?

@peter-ahe-google
Copy link
Contributor

This is a duplicate of #30208.

@peter-ahe-google peter-ahe-google added the closed-duplicate Closed in favor of an existing report label Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

No branches or pull requests

2 participants