blob: 31fac6e4dee5c43c6339b0c8f442ac8ecbe6d2fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# Module B
import trecmod2
proc p*(x: trecmod2.T1): trecmod2.T1 =
# this works because the compiler has already
# added T1 to trecmod2's interface symbol table
return x + 1
|