Hi,
I try to port the neko virtual machine to nimrod and get an Error: internal error: genRecordField in a very very long proc with tons of templates. I don't know how to reduce the code to get a proper test case. How should I file a bug report for this ? Should I send the whole project ?
sorry for the noise. Guess I found it. I had something like this:
type
TValue* {.pure, final.} = object of TObject
a: int
PValue = ref TValue
PPValue = ptr PValue
var sp = PPValue
if sp.a = 2 : echo 2 # with sp[].a the error is gone
in this test case I get now a different Error: internal error: getTypeDescAux(tyTypeDesc). I will file this error
How should I file a bug report for this ? Should I send the whole project ?
In general that's better than not reporting it at all. :D For compilation errors the size of the input program barely matters for me to debug and fix the bug. The situation is very different for memory corruptions of compiled programs. ;-)