Skip to content

Commit d5aed70

Browse files
committed
LibJS: Actually override is_private_identifier() in PrivateIdentifier
Regression from 72689ce.
1 parent 7ebb421 commit d5aed70

File tree

1 file changed

+2
-0
lines changed
  • Userland/Libraries/LibJS

1 file changed

+2
-0
lines changed

Userland/Libraries/LibJS/AST.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,8 @@ class PrivateIdentifier final : public Expression {
12201220
virtual Completion execute(Interpreter&, GlobalObject&) const override;
12211221
virtual void dump(int indent) const override;
12221222

1223+
virtual bool is_private_identifier() const override { return true; }
1224+
12231225
private:
12241226
FlyString m_string;
12251227
};

0 commit comments

Comments
 (0)