-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
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;
}
}
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.