282a3ab70b
Closes #45329 Change-Id: I7e153e41891332bd8ea85849b993066de342eed5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194682 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// pkg/front_end/testcases/generic_metadata/issue45329.dart:6:9: Error: Expected an identifier, but got 'void'.
|
|
// Try inserting an identifier before 'void'.
|
|
// local<void Function()>() {}
|
|
// ^^^^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method test() → dynamic {
|
|
function local<#T1 extends core::Object? = dynamic>() → Null {}
|
|
}
|
|
static method main() → dynamic {}
|