Files
Nim/tests/module/trecmod2.nim
2014-01-13 02:10:03 +01:00

11 lines
193 B
Nim

type
T1* = int # Module A exports the type ``T1``
import mrecmod2 # the compiler starts parsing B
proc main() =
var i = p(3) # works because B has been parsed completely here
main()