diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-24 16:06:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-24 17:18:09 +0200 |
commit | c02e992de2edb40e3af85c78b5856b5020b7d08e (patch) | |
tree | 64b2d56f247bb4d393427f203462fba1f57626b8 | |
parent | 75f2510de9c5166d80a91e4ea25c781b23f87910 (diff) | |
download | serenity-c02e992de2edb40e3af85c78b5856b5020b7d08e.zip |
LibJS: Use PropertyKey in MemberExpression::to_reference()
-rw-r--r-- | Userland/Libraries/LibJS/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/AST.cpp b/Userland/Libraries/LibJS/AST.cpp index 84e7681b1c..e140edba1a 100644 --- a/Userland/Libraries/LibJS/AST.cpp +++ b/Userland/Libraries/LibJS/AST.cpp @@ -1040,7 +1040,7 @@ Reference MemberExpression::to_reference(Interpreter& interpreter, GlobalObject& // 2. Let actualThis be ? env.GetThisBinding(). auto actual_this = TRY_OR_DISCARD(environment.get_this_binding(global_object)); - StringOrSymbol property_key; + PropertyKey property_key; if (is_computed()) { // SuperProperty : super [ Expression ] |