compilation cache: mostly working; generics not yet

This commit is contained in:
Araq 2011-10-25 15:26:36 +02:00
commit 9fb36bd20c
17 changed files with 160 additions and 2949 deletions

View file

@ -0,0 +1,11 @@
type
TMyObj = object
x: int
proc gen*[T](): T =
var d: TMyObj
# access private field here
d.x = 3
result = d.x