funky
funky copied to clipboard
Compiler crashes if a keyword is used as an identifier
If you use keywords (func
, alias
, record
, union
) in places where identifiers are expected, the compiler does not give a reasonable report but crashes. Faulty inputs might look like:
alias A = alias
, record union
or func func : Int = 0
.
The crashes are caused by nil pointer dereferences.