Closed spernsteiner closed 3 months ago
int f() { unsigned x = { 1 }; return x; } int g() { int x = { 1 }; return x; }
Translation of g succeeds. Translation of f fails, complaining "Init list not implemented for Uint", and f is omitted from the generated Rust code.
g
f
I think the fix to support any scalar type should be pretty trivial.
Translation of
g
succeeds. Translation off
fails, complaining "Init list not implemented for Uint", andf
is omitted from the generated Rust code.