diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp index d3f95a1e92..bc68f033f7 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp @@ -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 make_super_property_reference(GlobalObject& global_object, Value actual_this, StringOrSymbol const& property_key, bool strict) +ThrowCompletionOr 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(). diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h index e84cedddf7..a935932084 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.h +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.h @@ -21,7 +21,7 @@ FunctionEnvironment* new_function_environment(ECMAScriptFunctionObject&, Object* PrivateEnvironment* new_private_environment(VM& vm, PrivateEnvironment* outer); Environment& get_this_environment(VM&); Object* get_super_constructor(VM&); -ThrowCompletionOr make_super_property_reference(GlobalObject&, Value actual_this, StringOrSymbol const& property_key, bool strict); +ThrowCompletionOr make_super_property_reference(GlobalObject&, Value actual_this, PropertyKey const&, bool strict); ThrowCompletionOr require_object_coercible(GlobalObject&, Value); ThrowCompletionOr call_impl(GlobalObject&, Value function, Value this_value, Optional = {}); ThrowCompletionOr construct(GlobalObject&, FunctionObject&, Optional = {}, FunctionObject* new_target = nullptr);