Skip to content
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

Fix redeclaring private in nested class's superClass #11424

Merged
merged 1 commit into from Apr 20, 2020

Conversation

jridgewell
Copy link
Member

Q                       A
Fixed Issues?
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

If a nested class's superClass redeclares the outer class's private field and access it in a computed key, that should fail.

Follow up to #11405.

@existentialism existentialism added PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Private Methods labels Apr 15, 2020
@nicolo-ribaudo nicolo-ribaudo changed the title Fix redeclaringing private in nested class's superClass Fix redeclaring private in nested class's superClass Apr 16, 2020
If a nested class's `superClass` redeclares the outer class's private field and access it in a computed key, that should fail.

Follow up to babel#11405.
@nicolo-ribaudo nicolo-ribaudo merged commit d6efed5 into babel:master Apr 20, 2020
@jridgewell jridgewell deleted the nested-private-extends branch April 21, 2020 03:50
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jul 21, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Private Methods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants