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