proc test(): (int, int) {.discardable.} =
discard
if true:
test()
else:
quit()
Run
In previous versions, it compiled successfully without the error message
`Error: expression 'test()' is of type '(int, int)' and has to be used (or
discarded)`.
If I add `discard` at the end, it compiles successfully, but a warning
`unreachable code after 'return' statement or '{.noReturn.}' proc` appears.
