blob: 73e732a1bb878213ede240a56d2b87ae97d1a7f1 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/function_type_default_value.dart:5:19: Error: Expected an identifier, but got ':'.
// Try inserting an identifier before ':'.
// void Function({obj: Object})? x;
// ^
//
// pkg/front_end/testcases/general/function_type_default_value.dart:5:19: Error: Can't have a default value in a function type.
// void Function({obj: Object})? x;
// ^
//
// pkg/front_end/testcases/general/function_type_default_value.dart:5:16: Error: Type 'obj' not found.
// void Function({obj: Object})? x;
// ^^^
//
import self as self;
static field () →? void x;
static method main() dynamic
;