blob: 4a2bfdc99b5d0dc24e82379aa8e3f43ee15c5d40 [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 ^");
}
static method main() dynamic {}