implements 'export' feature
This commit is contained in:
parent
f503439e81
commit
c98e3d2c27
10 changed files with 137 additions and 40 deletions
10
tests/compile/texport.nim
Normal file
10
tests/compile/texport.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
output: "my object68"
|
||||
"""
|
||||
|
||||
import mexporta
|
||||
|
||||
# B.TMyObject has been imported implicitly here:
|
||||
var x: TMyObject
|
||||
echo($x, q(0), q"0")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue