aardappel / lobster

The Lobster Programming Language

Home Page:http://strlen.com/lobster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libtcc JIT error

Hjagu09 opened this issue · comments

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

Appreciate the small repro!

Doesn't happen for me though.. are you on the latest Lobster?