mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-31 02:43:41 +00:00
fixes binding of overloaded procs
This commit is contained in:
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()
|
||||
Reference in New Issue
Block a user