implement the export/except statement
This commit is contained in:
parent
7297613900
commit
cf13c5fba4
6 changed files with 41 additions and 7 deletions
4
tests/modules/definitions.nim
Normal file
4
tests/modules/definitions.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
var v*: int
|
||||
proc p* = echo "proc p called"
|
||||
template t* = echo "template t expanded"
|
||||
|
||||
3
tests/modules/proxy_module.nim
Normal file
3
tests/modules/proxy_module.nim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import definitions
|
||||
export definitions except p
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue