[BUG] std::move
for last-use makes it impossible to call function with inout
parameter.
#288
Labels
bug
Something isn't working
The following Cpp2 code
is compiled to (skipping boilerplate)
which fails to compile because
cpp2::i32& x
can't bind tostd::move(a)
.The text was updated successfully, but these errors were encountered: