Closed tersec closed 1 month ago
Works:
proc h(_: bool): bool = discard
const m = h
static: echo m(true)
echo m(true)
So seems to be a problem with returning void
Also, the compiler is tries to fold all calls to const
procs at compile time, maybe not correct
Description
Nim Version
Current Output
Expected Output
Known Workarounds
No response
Additional Information
No response