new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
9
tests/template/mcan_access_hidden_field.nim
Normal file
9
tests/template/mcan_access_hidden_field.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
type
|
||||
Foo* = object
|
||||
fooa, foob: int
|
||||
|
||||
proc createFoo*(a, b: int): Foo = Foo(fooa: a, foob: b)
|
||||
|
||||
template geta*(f: Foo): expr = f.fooa
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue