26b1aca71e
Fixes #38703 This fixes the last whitelisted DDK test. Change-Id: I1fd79c2bc361b2a4bf7fce60a406be521408024b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119921 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
10 lines
145 B
Dart
10 lines
145 B
Dart
typedef FuncType<T> = Function();
|
|
|
|
class Key<T> {
|
|
final FuncType<T> f;
|
|
const Key(this.f);
|
|
}
|
|
|
|
someFunc<T>() {}
|
|
const someKey = Key(someFunc);
|