Closed timotheecour closed 5 years ago
/cc @yglukhov looks like it was same root cause with https://github.com/nim-lang/Nim/issues/9600 because after rebuilding after the commit that fixed it (https://github.com/nim-lang/Nim/commit/fc740c54ec7af592ff3486c8cc296bb4f65eb340) this now works; thanks @jcosborn !
cd nimx cd test nake
SIGSEGV: Illegal storage access
upon further inspection: nake produces (and runs) ./nakefile; and running ./nakefile compiles a nim binary (IIUC) and runs this binary then produces that
SIGSEGV: Illegal storage access
however I have no way to know which is that binary (so I can't debug that program via lldb ; see https://github.com/fowlmouth/nake/issues/64 ; also, I can't debug via
lldb ./nakefile
either, this time because of https://github.com/nim-lang/Nim/issues/9634)Note: after echo-style debugging it crashes here: inside
result = superTypeAux(getImpl(t[1].symbol))
EDIT maybe even crashes here:
getTypeImpl(t[^1])
inresult = superTypeAux(getTypeImpl(t[^1]))
in thennkRefTy
clause