further progress on closure iterators; tforum still failing
This commit is contained in:
parent
1ad69be988
commit
813f98fb34
3 changed files with 34 additions and 18 deletions
|
|
@ -1,9 +1,9 @@
|
|||
discard """
|
||||
line: 12
|
||||
errormsg: "type mismatch: got (proc (x: int){.closure, gcsafe, locks: 0.})"
|
||||
errormsg: "type mismatch: got (proc (x: int){.gcsafe, locks: 0.})"
|
||||
"""
|
||||
|
||||
proc ugh[T](x: T) {.closure.} =
|
||||
proc ugh[T](x: T) {.nimcall.} =
|
||||
echo "ugha"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue