-
Notifications
You must be signed in to change notification settings - Fork 1
Array functionality unimplemented in move #20
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueThis should be a good place to get stuck in for beginnersThis should be a good place to get stuck in for beginnersmove irCode generation for LibraCode generation for LibraurgentHigh priority and should be fixed ahead of other tasksHigh priority and should be fixed ahead of other tasks
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueThis should be a good place to get stuck in for beginnersThis should be a good place to get stuck in for beginnersmove irCode generation for LibraCode generation for LibraurgentHigh priority and should be fixed ahead of other tasksHigh 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.