mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibJS: Make make_super_property_reference() take a PropertyKey
Let's get rid of StringOrSymbol usage outside of Shape.
This commit is contained in:
parent
398c181c79
commit
75f2510de9
2 changed files with 2 additions and 2 deletions
|
@ -452,7 +452,7 @@ Object* get_super_constructor(VM& vm)
|
|||
}
|
||||
|
||||
// 13.3.7.3 MakeSuperPropertyReference ( actualThis, propertyKey, strict ), https://tc39.es/ecma262/#sec-makesuperpropertyreference
|
||||
ThrowCompletionOr<Reference> make_super_property_reference(GlobalObject& global_object, Value actual_this, StringOrSymbol const& property_key, bool strict)
|
||||
ThrowCompletionOr<Reference> make_super_property_reference(GlobalObject& global_object, Value actual_this, PropertyKey const& property_key, bool strict)
|
||||
{
|
||||
auto& vm = global_object.vm();
|
||||
// 1. Let env be GetThisEnvironment().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue