Skip to content

Commit

Permalink
LibWeb: WebIDL::OverloadResolution, minor code streamlining
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored and awesomekling committed Jul 24, 2024
1 parent cc7c49e commit 70e053b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Userland/Libraries/LibWeb/WebIDL/OverloadResolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,7 @@ JS::ThrowCompletionOr<ResolvedOverload> resolve_overload(JS::VM& vm, IDL::Effect
dbgln("FIXME: a callback interface type");
dbgln("FIXME: a dictionary type");
dbgln("FIXME: a record type");
if (type.is_object())
return true;
return false;
return type.is_object();
})) {
overloads.remove_all_other_entries();
}
Expand Down

0 comments on commit 70e053b

Please sign in to comment.