Files
Nim/tests/compile/trecmod2.nim
2013-03-16 23:53:07 +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()