mlox/lox.t/assignment/to_this.lox
2024-08-03 02:44:12 +02:00

7 lines
100 B
Lox

class Foo {
Foo() {
this = "value"; // Error at '=': Invalid assignment target.
}
}
Foo();