attempt to fix DLL generation
This commit is contained in:
parent
832da8a303
commit
83deb233ee
6 changed files with 21 additions and 22 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
var funcs: seq[proc (): int] = @[]
|
||||
var funcs: seq[proc (): int {.nimcall.}] = @[]
|
||||
for i in 0..10:
|
||||
funcs.add((proc (): int = return i * i))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
file: "system.nim"
|
||||
line: 637
|
||||
line: 638
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue