Files
sdk/pkg/front_end/parser_testcases/nnbd/issue_39776_prime1.dart
T
Jens Johansen b4a83427fd [parser] bang before type arguments
Fixes #39776.

Change-Id: If830e5d9d8fd68e98eb757f21e6c361fc496c931
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128402
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2020-01-10 09:53:19 +00:00

11 lines
137 B
Dart

Object? foo(int i) => "42";
Object? bar<T>(T t) => 42;
main() {
Function? f1 = foo;
f1!(42);
Function f2 = bar;
f2<int>(42);
}