瀏覽代碼

LibJS: Actually override is_private_identifier() in PrivateIdentifier

Regression from 72689ce7bd8b4668ad5afd0777e96668c5044eb7.
Andreas Kling 3 年之前
父節點
當前提交
d5aed70dcf
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Userland/Libraries/LibJS/AST.h

+ 2 - 0
Userland/Libraries/LibJS/AST.h

@@ -1220,6 +1220,8 @@ public:
     virtual Completion execute(Interpreter&, GlobalObject&) const override;
     virtual void dump(int indent) const override;
 
+    virtual bool is_private_identifier() const override { return true; }
+
 private:
     FlyString m_string;
 };