blob: 29999e5cc46a1796c982581f1df24f458a7144a7 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
static method m({core::int a = 0}) dynamic {}
}
static method test() void {
self::C::m(a: invalid-expression "pkg/front_end/testcases/duplicated_named_args_3.dart:13:19: Error: Duplicated named argument 'a'.\n C.m(a: 1, a: 2, a: 3);\n ^" as{TypeError} core::int);
}
static method main() dynamic {}