-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean all always enabled parser plugins #16572
Merged
nicolo-ribaudo
merged 6 commits into
babel:main
from
liuxingbaoyu:remove-parser-plugins
Aug 12, 2024
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
96088f7
remove
liuxingbaoyu 191b895
update dts
liuxingbaoyu f9ab579
test
liuxingbaoyu 734c1d9
Keep pluigins in babel-parser typings for Babel 7
nicolo-ribaudo 7a5af02
Fix linting
nicolo-ribaudo 12a4a6a
Fix generation
nicolo-ribaudo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 0 additions & 1 deletion
1
packages/babel-generator/test/fixtures/edgecase/async-generator/options.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/flow/declare-field/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,3 +1,3 @@ | ||
{ | ||
"plugins": ["flow", "classProperties"] | ||
"plugins": ["flow"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/flow/def-site-variance/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 @@ | ||
{ "plugins": ["classProperties", "flow"] } | ||
{ "plugins": ["flow"] } |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/flow/type-annotations/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 @@ | ||
{ "plugins": ["classPrivateProperties", "flow"] } | ||
{ "plugins": ["flow"] } |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/flow/typeapp-call/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 @@ | ||
{ "plugins": ["jsx", "optionalChaining", "flow"] } | ||
{ "plugins": ["jsx", "flow"] } |
1 change: 0 additions & 1 deletion
1
packages/babel-generator/test/fixtures/types/ClassBody-ClassProperty/options.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-generator/test/fixtures/types/ClassBody-MethodDefinition/options.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-generator/test/fixtures/types/Optional-CallExpression/options.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-generator/test/fixtures/types/Optional-MemberExpression/options.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-constructor/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-declare/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...babel-generator/test/fixtures/typescript/class-expression-extends-implements/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-expression-extends/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-expression-generic/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-expression-implements/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-extends-implements/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-extends/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-field-declare/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-generic/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-get-generic/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-implements/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-index-signature/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/babel-generator/test/fixtures/typescript/class-members-with-modifier-names/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/babel-generator/test/fixtures/typescript/class-members-with-reserved-names/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-method-computed/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-method-generic/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-method-no-body/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-method-optional/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-method-return-type/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...babel-generator/test/fixtures/typescript/class-method-with-newline-with-body/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...el-generator/test/fixtures/typescript/class-method-with-newline-without-body/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-modifier-override/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-modifiers-accessors/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-modifiers-methods-async/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-modifiers-properties/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-parameter-properties/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-properties/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-property-computed/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-generator/test/fixtures/typescript/class-static/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,4 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["typescript", "classProperties"] | ||
"plugins": ["typescript"] | ||
} |
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
6 changes: 1 addition & 5 deletions
6
...pipeline-operator/hack-caret-proposal-class-expression-with-private-property/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,7 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }], | ||
"classPrivateProperties", | ||
"classPrivateMethods" | ||
] | ||
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "^" }]] | ||
} |
3 changes: 1 addition & 2 deletions
3
...ret-proposal-do-transform-for-await-of-loop-transform-and-topic-in-loop-body/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,7 +1,6 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }], | ||
"doExpressions", | ||
"asyncGenerators" | ||
"doExpressions" | ||
] | ||
} |
3 changes: 1 addition & 2 deletions
3
...ret-proposal-do-transform-for-await-of-loop-transform-and-topic-in-loop-head/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,7 +1,6 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }], | ||
"doExpressions", | ||
"asyncGenerators" | ||
"doExpressions" | ||
] | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
?? false
here seems to never be run?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool
can returnundefined
. While it's ok usually, in this caseundefined
was included in the generated code.