Closed
Description
This issue was originally filed by [email protected]
The language specification allows to use super as the first operand in an equality expression. However, it can be used only in an expression of the form super == e1. Any other variations of an equality expression(with ===, !== and != operators) cause a compile time error in DartVM and Dartc:
class A {
test() {
super === this;
}
}
class A {
test() {
super !== this;
}
}
class A {
test() {
super != this;
}
}