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
void main() {
var foo = new Foo();
foo.element = 'parrots!';
}
class Foo {
void set element() {
print('setting');
}
}
Presumably there should be a compile-time error objecting to the illegal setter parameters, but I get neither a compile-time error nor a run-time error. The VM gives what appears to be a compile-time error.
The text was updated successfully, but these errors were encountered:
This issue was originally filed by [email protected]
The following code behaves strangely in dart2js:
void main() {
var foo = new Foo();
foo.element = 'parrots!';
}
class Foo {
void set element() {
print('setting');
}
}
Presumably there should be a compile-time error objecting to the illegal setter parameters, but I get neither a compile-time error nor a run-time error. The VM gives what appears to be a compile-time error.
The text was updated successfully, but these errors were encountered: