diff options
author | Araq <rumpf_a@web.de> | 2011-05-14 00:24:52 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-05-14 00:24:52 +0200 |
commit | 32241aa9fe1a22f388124a6e5db8fb0517f01789 (patch) | |
tree | e02126fc683b8e26525e36c573c42576114b4629 /compiler | |
parent | f45967537f3696b20a4a92b2159c8de11913b556 (diff) | |
download | Nim-32241aa9fe1a22f388124a6e5db8fb0517f01789.tar.gz |
got rid of isLifted
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/sigmatch.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index d5b8f3204..a6c5092b8 100755 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -33,7 +33,6 @@ type TTypeRelation* = enum # order is important! isNone, isConvertible, isIntConv, isSubtype, - isLifted, # match, but do not change argument type to formal's type! isGeneric, isEqual @@ -185,9 +184,6 @@ proc tupleRel(mapping: var TIdTable, f, a: PType): TTypeRelation = var x = f.n.sons[i].sym var y = a.n.sons[i].sym if x.name.id != y.name.id: return isNone - elif sonsLen(f) == 0: - idTablePut(mapping, f, a) - result = isLifted proc constraintRel(mapping: var TIdTable, f, a: PType): TTypeRelation = result = isNone @@ -493,9 +489,6 @@ proc ParamTypesMatchAux(c: PContext, m: var TCandidate, f, a: PType, of isSubtype: inc(m.subtypeMatches) result = implicitConv(nkHiddenSubConv, f, copyTree(arg), m, c) - of isLifted: - inc(m.genericMatches) - result = copyTree(arg) of isGeneric: inc(m.genericMatches) result = copyTree(arg) |