Closed anton-trunov closed 1 month ago
The following snippet passes the typechecker, but it should not:
const foo: Int = 42; fun bar() { foo = 43 // <-- trying to assign to a constant }
The following snippet passes the typechecker, but it should not: