Array functionality unimplemented in move #20
Labels
bug
Something isn't working
good first issue
This should be a good place to get stuck in for beginners
move ir
Code generation for Libra
urgent
High priority and should be fixed ahead of other tasks
The libra target has support for storing arrays as libra vectors but not accessing them or storing to them. Full functionality was implemented previously, but this was before libra updated to have generic vector data types. Array values should now be accessed using the
Vector.borrow()
andVector.borrow_mut()
methods, depending on whether the value should be mutated or not, as shown in this example from the Libra testsuite.The text was updated successfully, but these errors were encountered: