blob: 89a8e24134f18b6ae5232b42963ea7d8d3f7b871 [file] [log] [blame]
enum E1 {
one(1),
two.named(2);
final int foo;
const E1(this.foo);
const E1.named(int value) : this(value);
}
enum E2 {
one(1),
two.named(2);
final int foo;
const E2(this.foo);
const E2.named(int value) : this(value, value);
}
main() {}