bugfix: aporia compiles again

This commit is contained in:
Araq
2016-12-20 10:25:50 +01:00
parent 237252f90c
commit bafc94a49a

View File

@@ -224,6 +224,7 @@ proc hashType(c: var MD5Context, t: PType; flags: set[ConsiderFlag]) =
if CoType notin flags:
if tfNoSideEffect in t.flags: c &= ".noSideEffect"
if tfThread in t.flags: c &= ".thread"
if tfVarargs in t.flags: c &= ".varargs"
else:
for i in 0.. <t.len: c.hashType(t.sons[i], flags)
if tfNotNil in t.flags and CoType notin flags: c &= "not nil"