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