mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
* clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix
12 lines
128 B
Nim
12 lines
128 B
Nim
|
|
type
|
|
TMyObj = object
|
|
x: int
|
|
|
|
proc gen*[T](): T =
|
|
var d: TMyObj
|
|
# access private field here
|
|
d.x = 3
|
|
result = d.x
|
|
|