Skip to content

Support parsing Flow's Indexed Access Types#13053

Merged
nicolo-ribaudo merged 6 commits intobabel:feat-7.14.0/parser-updatesfrom
sosukesuzuki:fix-13052
Apr 7, 2021
Merged

Support parsing Flow's Indexed Access Types#13053
nicolo-ribaudo merged 6 commits intobabel:feat-7.14.0/parser-updatesfrom
sosukesuzuki:fix-13052

Conversation

@sosukesuzuki
Copy link
Copy Markdown
Contributor

@sosukesuzuki sosukesuzuki commented Mar 25, 2021

Q                       A
Fixed Issues? Fixes #13052
Patch: Bug Fix? N?
Minor: New Feature? Y?
Tests Added + Pass? Yes
License MIT

I created the original issue as a "bug report", but it may be "feature request".

@babel-bot
Copy link
Copy Markdown
Collaborator

babel-bot commented Mar 25, 2021

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

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Mar 25, 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 de7d234:

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

Copy link
Copy Markdown
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.

LGTM with a minor optimization comment.

For reference only, here is Flow's implementation on parsing indexed access: facebook/flow@f493122

Comment thread packages/babel-parser/src/plugins/flow/index.js Outdated
@JLHwung JLHwung added this to the v7.14.0 milestone Mar 26, 2021
@JLHwung JLHwung added the PR: New Feature 🚀 A type of pull request used for our changelog categories label Mar 26, 2021
@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Mar 26, 2021
@nicolo-ribaudo nicolo-ribaudo changed the base branch from main to feat-7.14.0/parser-updates April 7, 2021 09:15
@nicolo-ribaudo nicolo-ribaudo merged commit 7b3d94b into babel:feat-7.14.0/parser-updates Apr 7, 2021
@nicolo-ribaudo nicolo-ribaudo mentioned this pull request Apr 7, 2021
9 tasks
@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 8, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: flow outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: generator pkg: parser pkg: types PR: New Feature 🚀 A type of pull request used for our changelog categories PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Flow's indexed access type

5 participants