various bugfixes for generics; added generic sort proc

This commit is contained in:
Araq 2011-03-03 02:01:22 +01:00
commit e424e13bd9
18 changed files with 392 additions and 113 deletions

11
tests/gc/gcleak.nim Normal file
View file

@ -0,0 +1,11 @@
type
TTestObj = object of TObject
x: string
proc MakeObj(): TTestObj =
result.x = "Hello"
while true:
var obj = MakeObj()