-
Notifications
You must be signed in to change notification settings - Fork 12.9k
ES private field check #44648
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
Merged
Merged
ES private field check #44648
Changes from 8 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
f04f22c
es private fields in in (#52)
acutmore 30dde52
[fixup] include inToken when walking forEachChild(node, cb)
acutmore 31fa02b
Merge remote-tracking branch 'origin/main' into bb-private-field-in-in
acutmore 307247c
Merge remote-tracking branch 'origin/main' into bb-private-field-in-in
acutmore 61c677b
[squash] re-accept lib definition baseline changes
acutmore 8292ee2
[squash] reduce if/else to ternary
acutmore 4723380
[squash] drop 'originalName' and rename parameter instead
acutmore 9f1c176
[squash] extend spelling suggestion to all privateIdentifiers
acutmore 511ac22
[squash] revert the added lexical spelling suggestions logic
acutmore 337f7e8
[squash] update baseline
acutmore d059c15
[squash] inline variable as per PR suggestion
acutmore 79eeebe
[squash] test targets both esnext and es2020 as per PR comment
acutmore 125df93
switch to using a binary expression
acutmore c6b2a21
Merge remote-tracking branch 'origin/main' into private-field-in-in
acutmore 320bc00
[squash] PrivateIdentifier now extends PrimaryExpression
acutmore cc80c7d
[squash] accept public api baseline changes
acutmore ebbb063
[squash] classPrivateFieldInHelper now has documentation
acutmore ea4fd4b
[squash] type-check now follows existing in-expression path
acutmore 8b78f01
[squash] parser now follows existing binaryExpression path
acutmore 01c7042
[squash] correct typo in comment
acutmore fc2b262
[squash] no longer use esNext flag
acutmore c007a12
[squash] swap 'reciever, state' helper params
acutmore 40bd336
[squash] remove change to parenthesizerRules
acutmore 7982164
[squash] apply suggested changes to checker
acutmore 1cd313f
[squash] remove need for assertion in fixSpelling
acutmore 97f7d30
[squash] improve comment hint in test
acutmore e672957
[squash] fix comment typos
acutmore 2b7425d
[squash] add flow-test for Foo | FooSub | Bar
acutmore 52b9f2a
[squash] add checkExternalEmitHelpers call and new test case
acutmore 476bf24
[squash] simplify and correct parser
acutmore be26d0a
[squash] move most of the added checker logic to expression level
acutmore f7ddce5
[squash] always error when privateId could not be resolved
acutmore 01e0e60
[squash] reword comment
acutmore 913d044
[squash] fix codeFixSpelling test
acutmore 7c49552
[squash] do less work
acutmore c6b039f
store symbol by priateId not binaryExpression
acutmore 6f56c6a
moved parsePrivateIdentifier into parsePrimaryExpression
acutmore c3b6c2a
[squash] checkInExpressionn bails out early on silentNeverType
acutmore 5fbb2da
[squash] more detailed error messages
acutmore c924a51
[squash] resolves conflict in diagnosticMessages.json
acutmore 27d494d
Merge remote-tracking branch 'origin/main' into private-field-in-in-b…
acutmore 33c3b55
[squash] update baseline for importHelpersES6
acutmore e3c25c9
[squash] remove redundent if and comment from parser
acutmore 74e56a6
[squash] split up grammar/check/symbolLookup
acutmore 8447934
[squash] reword message for existing left side of in-expression error
acutmore 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.