Skip to content

Commit

Permalink
Spaceless subscripts of bang calls
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohnson committed Oct 19, 2017
1 parent 606c95f commit 34da5a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/fixtures/bang-calls/spaceless-subscripts/actual.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bang!.x
bang![x]
bang!!
bang!! outerArg1
bang!(outerArg1)
bang!?.x

8 changes: 8 additions & 0 deletions test/fixtures/bang-calls/spaceless-subscripts/expected.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var _bang;

bang().x;
bang()[x];
bang()();
bang()(outerArg1);
bang()(outerArg1);
(_bang = bang()) == null ? void 0 : _bang.x;

0 comments on commit 34da5a5

Please sign in to comment.