Skip to content

Commit

Permalink
🐛 Fix syntax errors in babel plugin tests (detected by node 16) (#36568)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha authored Oct 26, 2021
1 parent 9328f8b commit 3b035d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class Static {
static set 'setter_'(v) {}
}

var bar_;

foo.bar_;
foo[bar_];
foo['bar_'];
Expand All @@ -63,5 +65,5 @@ deep.foo?.[bar_];
deep.foo?.['bar_'];

deep?.foo.bar_;
deep?.foo.[bar_];
deep?.foo.['bar_'];
deep?.foo[bar_];
deep?.foo['bar_'];
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class Static {

}

var bar_;
foo.bar_AMP_PRIVATE_;
foo[bar_];
foo['bar_'];
Expand Down

0 comments on commit 3b035d3

Please sign in to comment.