Make explicit {.nimcall.} a seperate calling convention

This commit is contained in:
Clyybber 2020-08-08 12:36:20 +02:00
commit 38068f9778
12 changed files with 29 additions and 17 deletions

View file

@ -0,0 +1,9 @@
discard """
errormsg: "illegal capture 'v'"
line: 7
"""
proc outer(v: int) =
proc b {.nimcall.} = echo v
b()
outer(5)