new feature: package level objects
This commit is contained in:
parent
7889692523
commit
c17f6c7837
9 changed files with 93 additions and 11 deletions
3
tests/package_level_objects/definefoo.nim
Normal file
3
tests/package_level_objects/definefoo.nim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
type
|
||||
Foo* {.package.} = object
|
||||
x, y: int
|
||||
Loading…
Add table
Add a link
Reference in a new issue