| 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() {} |