Closed
Description
This was hit internally. This is the simplified repro:
import 'package:test/test.dart';
abstract class A {
bool _done = true;
}
abstract class B {
String name;
B.protected();
}
class C extends B with A {
C(): super.protected() {
name = 'C';
}
}
void main() {
test('mixin works', () {
C c = new C();
expect(c._done, true); // DDC test fails because [c._done] reads [null]
});
}