Hi, @Ward thanks for your feedbacks. The issues that you posted are fixed in the following PRs/anwsers:
# Issue 1 > Culprit here seems to be #23055 which switched to elementType from base, > probably only worked by chance before. ref <https://github.com/nim-lang/Nim/issues/23836#issuecomment-2233957324> # Issue 2 fixed by <https://github.com/nim-lang/Nim/pull/23840> fixes semi-regression; discard check now skips nkHiddenSubConv # Issue 3 fixed by <https://github.com/nim-lang/Nim/pull/23839> fixes regression; block can have arbitrary exit points # Issue 4 fixed by <https://github.com/nim-lang/Nim/issues/23858> 2.2.0 rc1 regression with cdecl functions