This commit is contained in:
Araq 2014-03-04 08:31:11 +01:00
commit ed5bbfe36d
3 changed files with 3 additions and 2 deletions

View file

@ -130,7 +130,6 @@ proc getUniqueType*(key: PType): PType =
idTablePut(gTypeTable[k], key, key)
result = key
of tyProc:
# tyVar is not 100% correct, but would speeds things up a little:
if key.callConv != ccClosure:
result = key
else: