Closed Hjagu09 closed 1 year ago
Thanks for reporting! Fix here: https://github.com/aardappel/lobster/commit/e57c12240b2858d0073017e2b0e43d1e9bdb5c64
The problem was related to that function value being parsed thinking foo
was its surrounding scope, where really its scope is outside foo
. That was not trivial to fix because of the order things get parsed, but should be working better now :)
lobster crashes when a function parameter has an defult value:
runing this program lobster crashes giving the output
fish: Job 3, '~/git-apps/lobster/bin/lobster…' terminated by signal SIGSEGV (Address boundary error)
runing gdb over the core dump i get this:
environment linux mint 21 x86_64 up to date lobster compiled from source