Skip to content

Conversation

@Lioness100
Copy link
Contributor

@Lioness100 Lioness100 commented Feb 16, 2023

Q                       A
Patch: Bug Fix? Maybe
Major: Breaking Change? Maybe
Tests Added + Pass? Yes
License MIT

This PR fixes some typos throughout the repository (this was a trial run for a CLI I made). I'm unfamiliar with this codebase, so if I made any breaking changes that need to be reverted, or if you want me to split this into multiple prs, or anything else please let me know!

@babel-bot
Copy link
Collaborator

babel-bot commented Feb 17, 2023

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

@liuxingbaoyu
Copy link
Member

Thanks, looks great overall! Except for a few places that we can't fix right now due to compatibility.

Comment on lines 201 to 202
// TODO: Accesor -> Accessor
SetAccesorCannotHaveOptionalParameter:
// TODO: Accessor -> Accessor
SetAccessorCannotHaveOptionalParameter:
Copy link
Member

Choose a reason for hiding this comment

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

These error codes are public and we had to postpone the fix. :)

Lioness100 and others added 4 commits February 16, 2023 22:32
@Lioness100
Copy link
Contributor Author

How do I fix CI?

@liuxingbaoyu
Copy link
Member

How do I fix CI?

This looks like a random network error, don't bother with it.

packages/babel-parser/src/plugins/typescript/index.ts
packages/babel-parser/src/plugins/flow/index.ts

The error codes in both files are public and we cannot modify them for now.

@Lioness100
Copy link
Contributor Author

I changed the typescript file in c7be4ab, I'll do the flow one now :) thanks

@liuxingbaoyu
Copy link
Member

Unfortunately all error codes are public and we need to restore them (besides two other comments in the file)

@Lioness100
Copy link
Contributor Author

Sorry, I didn't notice the other error code changes in the typescript file.

@liuxingbaoyu
Copy link
Member

It doesn't matter. Everything looks great now! Thanks a lot for your contribution!

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

Thank you :)

@nicolo-ribaudo nicolo-ribaudo merged commit 34136c5 into babel:main Feb 18, 2023
@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 May 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants