fixes binding of overloaded procs
This commit is contained in:
parent
28b68d914e
commit
a41bf611a0
6 changed files with 51 additions and 26 deletions
12
tests/compile/tbindoverload.nim
Normal file
12
tests/compile/tbindoverload.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import strtabs
|
||||
|
||||
template t*() =
|
||||
block:
|
||||
bind newStringTable
|
||||
discard {"Content-Type": "text/html"}.newStringTable()
|
||||
|
||||
discard {:}.newStringTable
|
||||
|
||||
#discard {"Content-Type": "text/html"}.newStringTable()
|
||||
|
||||
t()
|
||||
Loading…
Add table
Add a link
Reference in a new issue