Merge pull request #9911 from nc-x/fixes-#9627
`include` now accepts collective arguments
This commit is contained in:
commit
606b43ba11
4 changed files with 32 additions and 7 deletions
1
tests/modules/m9627/a.nim
Normal file
1
tests/modules/m9627/a.nim
Normal file
|
|
@ -0,0 +1 @@
|
|||
var a = 10
|
||||
1
tests/modules/m9627/b.nim
Normal file
1
tests/modules/m9627/b.nim
Normal file
|
|
@ -0,0 +1 @@
|
|||
var b = 9
|
||||
7
tests/modules/t9627.nim
Normal file
7
tests/modules/t9627.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
output: "109"
|
||||
"""
|
||||
|
||||
include m9627 / [a, b]
|
||||
|
||||
echo a, b
|
||||
Loading…
Add table
Add a link
Reference in a new issue