Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Sep 2, 2021

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

@nicolo-ribaudo nicolo-ribaudo added the PR: Spec Compliance 👓 A type of pull request used for our changelog categories label Sep 2, 2021
@babel-bot
Copy link
Collaborator

babel-bot commented Sep 2, 2021

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/48524/

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 2, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7779a6c:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@JLHwung
Copy link
Contributor

JLHwung commented Sep 3, 2021

Can you add a new test case?

class C {
  #x;
  async test() {
    await #x in this
  }
}

It was parsed successfully but should throw, probably fixed in this PR.


return this.parseExprOp(
this.parseMaybeUnary(),
this.parseMaybeUnaryOrPrivate(),

This comment was marked as resolved.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolo-ribaudo nicolo-ribaudo merged commit 44388e6 into babel:main Sep 4, 2021
@nicolo-ribaudo nicolo-ribaudo deleted the private-in-private-in branch September 4, 2021 08:05
@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 Dec 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2021
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: Spec Compliance 👓 A type of pull request used for our changelog categories Spec: Brand Check for Private Fields

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Private Brand Check incorrectly allowed as RHS of in operator

5 participants