containerID is no longer needed for generics

This commit is contained in:
Zahary Karadjov 2013-03-01 12:12:53 +02:00
commit 0774af169b
6 changed files with 4 additions and 19 deletions

View file

@ -675,7 +675,6 @@ type
size*: BiggestInt # the size of the type in bytes
# -1 means that the size is unkwown
align*: int # the type's alignment requirements
containerID*: int # used for type checking of generics
loc*: TLoc
TPair*{.final.} = object
@ -1012,7 +1011,6 @@ proc assignType(dest, src: PType) =
dest.n = src.n
dest.size = src.size
dest.align = src.align
dest.containerID = src.containerID
dest.destructor = src.destructor
# this fixes 'type TLock = TSysLock':
if src.sym != nil: