Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix printing of Flow internal slot functions (#14962)
- Loading branch information
1 parent
40a6d42
commit 624c78d
Showing
10 changed files
with
31 additions
and
16 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
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
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: 2 additions & 1 deletion
3
packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-true/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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"BABEL_8_BREAKING": false, | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]], | ||
"decoratorsBeforeExport": true | ||
"decoratorsBeforeExport": true, | ||
"expectedReParseError": true | ||
} |
3 changes: 2 additions & 1 deletion
3
packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-false/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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"BABEL_8_BREAKING": false, | ||
"plugins": [["decorators", { "decoratorsBeforeExport": true }]], | ||
"decoratorsBeforeExport": false | ||
"decoratorsBeforeExport": false, | ||
"expectedReParseError": true | ||
} |
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
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 |
---|---|---|
|
@@ -16,6 +16,6 @@ new C<T>(); | |
o.m<T>(); | ||
f < T > .0; | ||
o?.m<T>(e); | ||
o.m<T>?.(e); | ||
o.m?.<T>(e); | ||
async<T>(); | ||
f<T>?.(e); | ||
f?.<T>(e); |
6 changes: 5 additions & 1 deletion
6
packages/babel-generator/test/fixtures/types/Decorator/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 |
---|---|---|
@@ -1 +1,5 @@ | ||
{ "plugins": ["decorators-legacy"] } | ||
{ | ||
"plugins": ["decorators-legacy"], | ||
"decoratorsBeforeExport": true, | ||
"BABEL_8_BREAKING": false | ||
} |
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
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