mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-14 11:04:34 +00:00
…haracterization with--warning:ResultUsed:on fixes #26062 > A return statement with no expression is shorthand for return result. > ResultUsed: Warn about the usage of the built-in result variable. > A procedure that does not have any return statement and does not use the special result variable returns the value of its last expression.