Update clif option string, fix table parsing to match AnyFunc

This commit is contained in:
Mark McCaskey
2020-02-26 13:25:41 -08:00
parent 0a92d9c65e
commit a8b4f2a1e4
2 changed files with 2 additions and 2 deletions

View File

@@ -300,7 +300,7 @@ pub fn read_module<
}
ParserState::BeginElementSectionEntry {
table: ElemSectionEntryTable::Active(table_index_raw),
ty: WpType::Func,
ty: WpType::AnyFunc,
} => {
let table_index = TableIndex::new(table_index_raw as usize);
let mut elements: Option<Vec<FuncIndex>> = None;