blob: dea0ab936d579798f10824322b88c9958cd47ae2 [file] [log] [blame]
// @dart = 2.6
abstract class Y1 {
String get native;
}
class W {
String native;
W() : native = "field";
}
class X {
String native() => "method";
}
class Y2 extends Y1 {
@override
String get native => "getter";
}
class Z {
String f;
set native(String s) => f = s;
}
main() {}