onyx-lang/onyx

Compiler segfaults when compiling this code

Closed this issue · 0 comments

The following (invalid) code fails to compile with version (c86358c) giving a Segmentation fault.

main :: () {
    array.every(&solutions, (s) =>)
}

The command I'm running is:

onyx build advent.onyx -o advent.wasm -r js