attempt to fix DLL generation

This commit is contained in:
Araq 2012-07-18 00:02:53 +02:00
commit 83deb233ee
6 changed files with 21 additions and 22 deletions

View file

@ -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))

View file

@ -1,6 +1,6 @@
discard """
file: "system.nim"
line: 637
line: 638
errormsg: "type mismatch"
"""