Skip to content

Fasta doesn't support tear-off invocation with type arguments #31260

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
sjindel-google opened this issue Nov 1, 2017 · 3 comments
Closed

Fasta doesn't support tear-off invocation with type arguments #31260

sjindel-google opened this issue Nov 1, 2017 · 3 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report front-end-fasta legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@sjindel-google
Copy link
Contributor

$ cat <<EOF >test.dart
class A {}

main() {
  var x = new A();
  (x.foo)<int>();
}
EOF
$ DART_CONFIGURATION=ReleaseX64 ./pkg/front_end/tool/fasta compile test.dart  
test.dart:5:14: Error: Expected ';' before this.
  (x.foo)<int>();
             ^
test.dart:5:14: Error: Expected an identifier, but got '>'.
  (x.foo)<int>();
             ^
test.dart:5:16: Error: Expected an identifier, but got ')'.
  (x.foo)<int>();
               ^
test.dart:5:16: Warning: Getter not found: ''.
  (x.foo)<int>();
               ^
test.dart:5:14: Warning: Getter not found: ''.
  (x.foo)<int>();
             ^
@sjindel-google
Copy link
Contributor Author

This is preventing us from running language_2/generic_no_such_method_dispatcher_test, which in turn prevented us from recognizing bug #31261.

@sjindel-google
Copy link
Contributor Author

When is fixed, we can remove the test language_2/generic_no_such_method_dispatcher_simple_test.

@peter-ahe-google peter-ahe-google added legacy-area-front-end Legacy: Use area-dart-model instead. closed-duplicate Closed in favor of an existing report labels Nov 2, 2017
@peter-ahe-google
Copy link
Contributor

This is a duplicate of #30208.

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 front-end-fasta legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

No branches or pull requests

2 participants