Skip to content

Commit

Permalink
LibJS: Actually override is_private_identifier() in PrivateIdentifier
Browse files Browse the repository at this point in the history
Regression from 72689ce.
  • Loading branch information
awesomekling committed Mar 5, 2022
1 parent 7ebb421 commit d5aed70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/Libraries/LibJS/AST.h
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ class PrivateIdentifier final : public Expression {
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;
};
Expand Down

0 comments on commit d5aed70

Please sign in to comment.