bugfixes; added events module, sequtils module

This commit is contained in:
Araq 2011-07-26 00:46:41 +02:00
commit 0e7f2ca3f1
13 changed files with 292 additions and 15 deletions

View file

@ -896,7 +896,7 @@ proc computeSizeAux(typ: PType, a: var biggestInt): biggestInt =
if typ.callConv == ccClosure: result = 2 * ptrSize
else: result = ptrSize
a = ptrSize
of tyNil, tyCString, tyString, tySequence, tyPtr, tyRef, tyOpenArray:
of tyNil, tyCString, tyString, tySequence, tyPtr, tyRef, tyVar, tyOpenArray:
result = ptrSize
a = result
of tyArray, tyArrayConstr: