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

[ts] Enforce order for the override modifier #13209

Merged

Conversation

nicolo-ribaudo
Copy link
Member

Q                       A
Fixed Issues? Ref: microsoft/TypeScript#43660
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 PR: Spec Compliance 👓 A type of pull request used for our changelog categories pkg: parser area: typescript labels Apr 26, 2021
@babel-bot
Copy link
Collaborator

babel-bot commented Apr 26, 2021

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

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 26, 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 a11b53d:

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

Copy link
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

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

Did this PR also introduce static override support?

packages/babel-parser/src/plugins/typescript/index.js Outdated Show resolved Hide resolved
@nicolo-ribaudo
Copy link
Member Author

I need to update this PR for microsoft/TypeScript#43829

Did this PR also introduce static override support?

Yes 👍

@nicolo-ribaudo
Copy link
Member Author

CI caught a regression closely related to a TS bug I just found: microsoft/TypeScript#43836. I will only fix the regression partially, and wait for the TS bug to be fixed to understand what is the expected behavior.

@nicolo-ribaudo
Copy link
Member Author

Oh it's not a regression, it's a bugfix lol

@nicolo-ribaudo
Copy link
Member Author

The new tests in the allowlist are not related to this PR, they are just new TS tests.

@nicolo-ribaudo nicolo-ribaudo merged commit 52a59b1 into babel:feat-7.14.0/parser-updates Apr 27, 2021
@nicolo-ribaudo nicolo-ribaudo deleted the override-order branch April 27, 2021 20:51
@nicolo-ribaudo nicolo-ribaudo mentioned this pull request Apr 28, 2021
9 tasks
nicolo-ribaudo added a commit that referenced this pull request Apr 28, 2021
* [ts] Enforce order for the `override` modifier

* generator

* Add more checks

* Update TS tests
@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 Oct 17, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: typescript outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: Spec Compliance 👓 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants