fix bootstrapping on windows
This commit is contained in:
parent
1ffae7cbaf
commit
1280c56f38
1 changed files with 3 additions and 1 deletions
|
|
@ -430,7 +430,9 @@ proc typeRel(c: var TCandidate, f, aOrig: PType, doBind = true): TTypeRelation =
|
||||||
return typeRel(c, f, lastSon(a))
|
return typeRel(c, f, lastSon(a))
|
||||||
|
|
||||||
template bindingRet(res) =
|
template bindingRet(res) =
|
||||||
when res == isGeneric: put(c.bindings, f, aOrig)
|
when res == isGeneric:
|
||||||
|
let bound = aOrig.skipTypes({tyRange}).skipIntLit
|
||||||
|
put(c.bindings, f, bound)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
template considerPreviousT(body: stmt) {.immediate.} =
|
template considerPreviousT(body: stmt) {.immediate.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue