nim-works / nimskull

An in development statically typed systems programming language; with sustainability at its core. We, the community of users, maintain it.
https://nim-works.github.io/nimskull/index.html
Other
280 stars 39 forks source link

fix a compiler crash with `.varargs` proc types #1396

Closed zerbina closed 4 months ago

zerbina commented 4 months ago

Summary

Fix the compiler crashing when a non-closure proc type with C-style varargs is used somewhere. Only the C backend was affected.

Fixes https://github.com/nim-works/nimskull/issues/1394.

Details

saem commented 4 months ago

/merge

github-actions[bot] commented 4 months ago

Merge requested by: @saem

Contents after the first section break of the PR description has been removed and preserved below:


## Notes for Reviewers * this is a case where built-in integers types like `uint1` and `uint31` would be useful