diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/sigmatch.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 541ef63da..109cb4de7 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -1392,8 +1392,7 @@ proc typeRel(c: var TCandidate, f, aOrig: PType, if roota.base == rootf.base: let nextFlags = flags + {trNoCovariance} var hasCovariance = false - const noBug {.booldefine.} = false - result = when noBug: isGeneric else: isEqual + result = isEqual for i in 1 .. rootf.sonsLen-2: let ff = rootf.sons[i] |