blob: 6fc51ce29266891f732e0010d5cb4176bac84bd6 [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'.
C.m(a: 1, a: 2, a: 3);
^" as{TypeError} core::int);
}
static method main() dynamic {}