mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-04-25 15:22:17 +00:00
move section_id inside
This commit is contained in:
parent
7ae0c11411
commit
686081be60
BIN
res/cases/v1/err-sections-after-custom.wasm
Normal file
BIN
res/cases/v1/err-sections-after-custom.wasm
Normal file
Binary file not shown.
@ -243,8 +243,8 @@ impl Deserialize for Module {
|
||||
} else if last_section_id == section.id() {
|
||||
return Err(Error::DuplicatedSections(last_section_id));
|
||||
}
|
||||
}
|
||||
last_section_id = section.id();
|
||||
}
|
||||
sections.push(section);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user