summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-06-05 15:22:11 +0300
committerLinus Groh <mail@linusgroh.de>2021-06-05 14:15:28 +0100
commiteb0b1c432a0e9aa5a220c460e95694dd3fbb67b8 (patch)
treea5aab6675ee19faa4a909c40dc6c34dac67700d3 /Userland/Libraries/LibJS/Forward.h
parente72e621d89fee1d368f294eb239fa4fe54a1b5f2 (diff)
downloadserenity-eb0b1c432a0e9aa5a220c460e95694dd3fbb67b8.zip
LibJS: Replace StringOrSymbol::from_value with Value::to_property_key
This is a more specification compliant implementation of the abstract operation 7.1.19 ToPropertyKey which should handle boxed symbols correctly.
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r--Userland/Libraries/LibJS/Forward.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h
index 835d2b84a4..727560b3ff 100644
--- a/Userland/Libraries/LibJS/Forward.h
+++ b/Userland/Libraries/LibJS/Forward.h
@@ -130,6 +130,7 @@ class ScopeNode;
class ScopeObject;
class Shape;
class Statement;
+class StringOrSymbol;
class Symbol;
class Token;
class VM;