libtcc JIT error
Hjagu09 opened this issue · comments
Hjagu commented
code:
class data:
a: int
class crash_class:
def crash(input: data) -> bool:
return switch input:
default:
false
let test = crash_class{}
test.crash(data{10})
output:
libtcc JIT error: crash.lobster:
<string>:316: warning: deprecated use of label at end of compound statement
Wouter van Oortmerssen commented
Appreciate the small repro!
Doesn't happen for me though.. are you on the latest Lobster?
Wouter van Oortmerssen commented
Fixed in dfdfbe7