Add a test case for issue #4675.
This commit is contained in:
parent
3fef725d92
commit
9a2b98cd8b
3 changed files with 27 additions and 0 deletions
7
tests/overload/timport.nim
Normal file
7
tests/overload/timport.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# issue 4675
|
||||
import importA # comment this out to make it work
|
||||
import importB
|
||||
|
||||
var x: Foo[float]
|
||||
var y: Foo[float]
|
||||
let r = t1(x) + t2(y)
|
||||
Loading…
Add table
Add a link
Reference in a new issue