forked from babel/babel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify if MemberExpression is computed
If a property access is computed, e.g. a[b], then it's in topic style. Currently, this isn't accounted for. Test & change ensures this doesn't parse.
- Loading branch information
1 parent
25d0146
commit 122906d
Showing
5 changed files
with
7 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...ipeline-operator/proposal-smart-bare-style,-function-calls,-single,-computed/options.json
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
...pipeline-operator/proposal-smart-bare-style,-function-calls,-single,-computed/output.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...ine-operator/proposal-smart-error,-topic-style,-computed,-no-topic-reference/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"plugins": [["pipelineOperator", { "proposal": "smart" }]], | ||
"throws": "Pipeline is in topic style but does not use topic reference (1:9)" | ||
} |