fixes #1965
This commit is contained in:
parent
799e0f3274
commit
36a90c6044
3 changed files with 13 additions and 2 deletions
2
tests/generics/mmodule_same_as_proc.nim
Normal file
2
tests/generics/mmodule_same_as_proc.nim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
proc mmodule_same_as_proc*(x: string) = discard
|
||||
9
tests/generics/tmodule_same_as_proc.nim
Normal file
9
tests/generics/tmodule_same_as_proc.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
# bug #1965
|
||||
|
||||
import mmodule_same_as_proc
|
||||
|
||||
proc test[T](t: T) =
|
||||
mmodule_same_as_proc"a"
|
||||
|
||||
test(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue