Closed zerbina closed 4 months ago
/merge
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
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
mirtypes.callConv
didn't consider thex
field storing a boolean value in the most-significant bit, resulting in range defectTCallingConvention
enum value