blob: a114dced03e53bcd0c0df5fb9b6ac706f7a30cbc [file] [log] [blame]
enum E1 with M1 { one, two }
enum E2 with M1, M2 { one, two }
enum E3 with M3 { one, two }
expectEquals(x, y) {}
expectThrows(void Function() f) {}
main() {}
mixin M1 {
String get foo => "foo";
}
mixin M2 {
int bar() => 42;
}
mixin M3 {
void set callOnAssignment(void Function() f) {}
}
void throwOnCall() {}