compilation cache: mostly working; generics not yet
This commit is contained in:
parent
9fb97e24bf
commit
9fb36bd20c
17 changed files with 160 additions and 2949 deletions
11
tests/accept/run/mfriends.nim
Normal file
11
tests/accept/run/mfriends.nim
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue