compiler/voc
norayr 42ecf2464c on line 605 of OPT.Mod typ := impCtxt.ref[-tag] read let's say, 19, i.
e. int64 typ, but because in procedure Close set to NIL everything upper
than FirstRef, which is 16, that's why obj.typ was not set in InStruct,
which caused crash later.
for now fixed by starting to NIL array from Comp + 1, not from FirstRef.
changing FirstRef causes crashes, which I did not investigate yet.

-- noch
2015-03-12 21:39:13 +04:00

1.2 MiB
Executable file