blob: a4845bb3a11b0fd0157dd6b566162af83b0ded4b [file] [log] [blame]
library;
//
// 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
;