mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +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: 70e053bbf4
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 callback interface type");
|
||||||
dbgln("FIXME: a dictionary type");
|
dbgln("FIXME: a dictionary type");
|
||||||
dbgln("FIXME: a record type");
|
dbgln("FIXME: a record type");
|
||||||
if (type.is_object())
|
return type.is_object();
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
})) {
|
})) {
|
||||||
overloads.remove_all_other_entries();
|
overloads.remove_all_other_entries();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue