We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{.pragma: noNimScript, macropragma.}
{.pragma: noNimScript, macropragma.} does not work
in os.nim,
template fun(body: untyped): untyped = echo "ok1" {.pragma: callfun, fun.} proc bar1() {.fun.} = echo "ok2" # ok proc bar2() {.callfun.} = echo "ok2" # Error: invalid pragma: fun
Error: invalid pragma: fun
this should probably work; eg, useful for: {.pragma: callfun, inline, fun.}
{.pragma: callfun, inline, fun.}
creating a separate fun2 that is like fun but adds pragmas doesn't seem easy nor always possible nor DRY
fun2
fun
D20200427T222851
The text was updated successfully, but these errors were encountered:
byaddr
since
No branches or pull requests
{.pragma: noNimScript, macropragma.}
does not workExample
in os.nim,
Current Output
Expected Output
this should probably work; eg, useful for:
{.pragma: callfun, inline, fun.}
creating a separate
fun2
that is likefun
but adds pragmas doesn't seem easy nor always possible nor DRYAdditional Information
D20200427T222851
The text was updated successfully, but these errors were encountered: