made some tests green; some small bugfixes
This commit is contained in:
parent
654a99266f
commit
f96ec25ed2
6 changed files with 6 additions and 7 deletions
|
|
@ -798,7 +798,7 @@ proc semTypeExpr(c: PContext, n: PNode): PType =
|
|||
|
||||
proc freshType(res, prev: PType): PType {.inline.} =
|
||||
if prev.isNil:
|
||||
result = copyType(result, result.owner, keepId=false)
|
||||
result = copyType(res, res.owner, keepId=false)
|
||||
else:
|
||||
result = res
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue