summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Environment.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Environment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Environment.h b/Userland/Libraries/LibJS/Runtime/Environment.h
index 62b0618a76..3fbc9643c3 100644
--- a/Userland/Libraries/LibJS/Runtime/Environment.h
+++ b/Userland/Libraries/LibJS/Runtime/Environment.h
@@ -20,7 +20,7 @@ struct Variable {
#define JS_ENVIRONMENT(class_, base_class) \
public: \
using Base = base_class; \
- virtual StringView class_name() const override { return #class_; }
+ virtual StringView class_name() const override { return #class_##sv; }
class Environment : public Cell {
public: