minor bug fixes to make some tests green
This commit is contained in:
parent
8be307713e
commit
41cbd1c980
3 changed files with 8 additions and 4 deletions
|
|
@ -41,7 +41,6 @@ proc searchInstTypes(key: PType): PType =
|
|||
return
|
||||
|
||||
for inst in genericTyp.sym.typeInstCache:
|
||||
InternalAssert inst.sons.len == key.sons.len + 1
|
||||
if inst.id == key.id: return inst
|
||||
block MatchType:
|
||||
for j in 1 .. high(key.sons):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue