Bug 1793961 - Don't attach decorators to synthesized getter and setter for accessors...
commit7eae2ea5211ab3497f6074ee1e26979a6aea4e91
authorDan Minor <dminor@mozilla.com>
Wed, 12 Jul 2023 08:28:19 +0000 (12 08:28 +0000)
committerDan Minor <dminor@mozilla.com>
Wed, 12 Jul 2023 08:28:19 +0000 (12 08:28 +0000)
treebd53fd2ebe3e7ffe502f7c1a51562c36dfe38543
parent182b6db303894499e4961939b1290aada936e5c0
Bug 1793961 - Don't attach decorators to synthesized getter and setter for accessors; r=arai

Previously, we were associating the decorators with the new getter and setter that
were created for the accessor, but for code generation purposes, we want them to be
associated the underlying accessor storage.

Differential Revision: https://phabricator.services.mozilla.com/D182080
js/src/frontend/FullParseHandler.h
js/src/frontend/ParseNode.h
js/src/frontend/Parser.cpp
js/src/frontend/Parser.h
js/src/frontend/SyntaxParseHandler.h