got rid of akPureObject

This commit is contained in:
Araq 2011-09-24 10:57:35 +02:00
commit 98e5beb936
3 changed files with 8 additions and 8 deletions

View file

@ -77,7 +77,8 @@ proc mapType(typ: PType): TCTypeKind =
of tySet: result = mapSetType(typ)
of tyOpenArray, tyArrayConstr, tyArray: result = ctArray
of tyObject, tyTuple: result = ctStruct
of tyGenericBody, tyGenericInst, tyGenericParam, tyDistinct, tyOrdinal:
of tyGenericBody, tyGenericInst, tyGenericParam, tyDistinct, tyOrdinal,
tyConst, tyMutable, tyIter:
result = mapType(lastSon(typ))
of tyEnum:
if firstOrd(typ) < 0: