An in development statically typed systems programming language; with sustainability at its core. We, the community of users, maintain it.
275
stars
39
forks
source link
borrows of parameters below `byref` threshold ends up leasing the copied parameter #1457
Closed
alaviss closed 3 weeks ago
Example
Actual Output
C Code for
some(x)
:Expected Output
The
x
parameter should be a pointer, not a stack copy.Additional information
Mint
is tagged with{.byref.}
, the generated code is correct.