blob: 37aef1562f42d3a6d447591bb2b939949992aa49 [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;
// ^^^
//
// pkg/front_end/testcases/general/function_type_default_value.dart:5:16: Error: 'obj' isn't a type.
// void Function({obj: Object}) x;
// ^^^
//
import self as self;
static field () →* void x;
static method main() dynamic {}