mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibWasm: Fix broken build after merging un-rebased Validator changes
This commit is contained in:
parent
fb003d71c2
commit
03ddda7979
Notes:
sideshowbarker
2024-07-18 01:16:51 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/03ddda79793
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ ErrorOr<void, ValidationError> Validator::validate(Module& module)
|
|||
if (result.is_error())
|
||||
return;
|
||||
for (auto& export_ : section.entries()) {
|
||||
if (seen_export_names.try_set(export_.name()) != AK::HashSetResult::InsertedNewEntry)
|
||||
if (seen_export_names.try_set(export_.name()).release_value_but_fixme_should_propagate_errors() != AK::HashSetResult::InsertedNewEntry)
|
||||
result = Errors::duplicate_export_name(export_.name());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue