b4a83427fd
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>
11 lines
137 B
Dart
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);
|
|
}
|