mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibWeb: WebIDL::OverloadResolution, minor code streamlining
This commit is contained in:
parent
cc7c49e235
commit
70e053bbf4
Notes:
github-actions[bot]
2024-07-24 09:24:51 +00:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/70e053bbf4a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/803 Reviewed-by: https://github.com/kennethmyhra ✅
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue