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
5
tests/overload/importA.nim
Normal file
5
tests/overload/importA.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
type
|
||||
Field* = object
|
||||
elemSize*: int
|
||||
|
||||
template `+`*(x: untyped, y: Field): untyped = x
|
||||
Loading…
Add table
Add a link
Reference in a new issue