blob: c463475ad5fa4a0992603c3821df5eff6a14b422 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
set x(dynamic #synthetic) → void
let<BottomType> _ = null in invalid-expression "pkg/front_end/testcases/inference/property_set_bad_setter.dart:9:16: Error: A setter should have exactly one formal parameter.
void set x() {}
^";
}
static method f(self::A a) void {
core::int x = a.{self::A::x} = 0;
}
static method main() dynamic {}