blob: 0c7ff74c4f9f0017e74ce0b97150ed476a421fe4 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/inference/property_set_bad_setter.dart:9:16: Error: A setter should have exactly one formal parameter.
// void set x() {}
// ^
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
: super core::Object::•()
;
set x(dynamic #synthetic) → void
let dynamic _ = 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 {}