make bootstrapping work with older Nims
This commit is contained in:
parent
90e882d55b
commit
1f7f0908ef
1 changed files with 1 additions and 2 deletions
|
|
@ -1392,8 +1392,7 @@ proc typeRel(c: var TCandidate, f, aOrig: PType,
|
||||||
if roota.base == rootf.base:
|
if roota.base == rootf.base:
|
||||||
let nextFlags = flags + {trNoCovariance}
|
let nextFlags = flags + {trNoCovariance}
|
||||||
var hasCovariance = false
|
var hasCovariance = false
|
||||||
const noBug {.booldefine.} = false
|
result = isEqual
|
||||||
result = when noBug: isGeneric else: isEqual
|
|
||||||
|
|
||||||
for i in 1 .. rootf.sonsLen-2:
|
for i in 1 .. rootf.sonsLen-2:
|
||||||
let ff = rootf.sons[i]
|
let ff = rootf.sons[i]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue