You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
On the VM, this prints "hello\nworld". On DDC, "hello\n\hello". In the generated code, A's constructor is overwriting the value written by B's constructor.
classA {
var x ="hello";
voidshow() =>print(x);
}
classBextendsA {
var x ="world";
}
var b =newB();
var a =newA();
voidmain() {
a.show();
b.show();
}
The text was updated successfully, but these errors were encountered:
On the VM, this prints "hello\nworld". On DDC, "hello\n\hello". In the generated code, A's constructor is overwriting the value written by B's constructor.
The text was updated successfully, but these errors were encountered: