This commit is contained in:
Araq
2015-04-27 17:37:10 +02:00
parent d3b0292d4e
commit b34bd3b163

View File

@@ -922,6 +922,7 @@ proc typeRel(c: var TCandidate, f, aOrig: PType, doBind = true): TTypeRelation =
of tyAnd:
considerPreviousT:
result = isEqual
for branch in f.sons:
let x = typeRel(c, branch, aOrig)
if x < isSubtype: return isNone