keriwarr / orangejoos

JOOS1W Compiler, written in Crystal
0 stars 1 forks source link

typing: prevent `this` usage in static bodies #56

Closed lgo closed 6 years ago

lgo commented 6 years ago

Previously, this was permitted inside static field initializers and static method bodies. This is now prevented.

+4 tests