Fix up TODOs and get tests passing again

This commit is contained in:
Mark McCaskey
2021-02-24 13:02:32 -08:00
parent 77786e2067
commit d392ce3cd7
15 changed files with 68 additions and 61 deletions

View File

@@ -69,8 +69,6 @@ impl Table {
/// Retrieves an element of the table at the provided `index`.
pub fn get(&self, index: u32) -> Option<Val> {
// TODO: review change to make inner table return a trap in Result, maybe we don't
// want that
let item = self.table.get(index)?;
Some(ValFuncRef::from_table_reference(item, &self.store))
}