Closed ringabout closed 1 month ago
Thanks for your hard work on this PR! The lines below are statistics of the Nim compiler built from 031ad957badd1d2f73318a3aec2fa50b4687634c
Hint: mm: orc; opt: speed; options: -d:release 175684 lines; 8.808s; 654.816MiB peakmem
fixes #24359
follow up https://github.com/nim-lang/Nim/pull/11076
It should not try to evaluate the const proc if the proc doesn't have a return value.