fixes serious codegen regression that caused Nimble to misbehave
This commit is contained in:
parent
94e1488c24
commit
34143ee122
2 changed files with 48 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ proc genTraverseProc(c: var TTraversalClosure, accessor: Rope, typ: PType) =
|
|||
|
||||
var p = c.p
|
||||
case typ.kind
|
||||
of tyGenericInst, tyGenericBody, tyTypeDesc, tyAlias:
|
||||
of tyGenericInst, tyGenericBody, tyTypeDesc, tyAlias, tyDistinct:
|
||||
genTraverseProc(c, accessor, lastSon(typ))
|
||||
of tyArray:
|
||||
let arraySize = lengthOrd(typ.sons[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue