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

Types for pipeline operator #9122

Merged
merged 1 commit into from Dec 13, 2018

Conversation

thiagoarrais
Copy link
Contributor

Q                       A
Fixed Issues? Related to babel/proposals#29
Patch: Bug Fix? No
Major: Breaking Change? No
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link Not sure if applies
Any Dependency Changes? No
License MIT

This is the first of two PRs for implementing the smart pipeline transform. It concentrates on the types and generator code associated with the proposal. As soon as this gets merged, I plan on following up with a PR for the transform itself.

It adds three new types that will be needed for writing the visitor for the transform. I've tried to follow existing conventions. But this is my first PR on this area of the code. So please let me know if anything is out of place. I particularly think this needs an accompanying documentation PR, but I'm not really sure where to make the changes.

@babel-bot
Copy link
Collaborator

babel-bot commented Dec 4, 2018

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

@thiagoarrais
Copy link
Contributor Author

@danez @nicolo-ribaudo @xtuc: can you lend an ear here? This is a follow up for #8289.

},
});

defineType("PipelinePrimaryTopicReference", {});
Copy link
Member

Choose a reason for hiding this comment

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

I think that this should still be an expression, since it can safely* moved around.

* It's safe only if it is in the correct context, like it would be for any other identifier reference.

@thiagoarrais thiagoarrais changed the title Types for pipeline operator WIP: Types for pipeline operator Dec 10, 2018
@thiagoarrais
Copy link
Contributor Author

I think my last change finishes this PR. I am marking this as WIP just so that I have chance to clean up the commit history, though. Please let me know if you need anything else.

@mAAdhaTTah
Copy link
Contributor

@thiagoarrais Pretty sure babel team squash/merges so the history should be ok as-is.

@thiagoarrais thiagoarrais changed the title WIP: Types for pipeline operator Types for pipeline operator Dec 10, 2018
@thiagoarrais
Copy link
Contributor Author

Yup. I just want to be nitpicky and remove my temp commits from history. :-)

@thiagoarrais
Copy link
Contributor Author

This is ready to be merged now.

@nicolo-ribaudo
Copy link
Member

Yes, we usually squash-merge (unless multiple authors worked on the same PR).

This is ready to be merged now.

Lets just wait for another ✔️

Copy link
Member

@danez danez left a comment

Choose a reason for hiding this comment

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

Thanks.

Was surprised that the generated files are committed, but seems I initially did that a while ago 😆So should be okay.

@nicolo-ribaudo nicolo-ribaudo merged commit 731182e into babel:master Dec 13, 2018
Pipeline Operator automation moved this from In progress to Done Dec 13, 2018
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 4, 2019
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 pkg: generator pkg: types Spec: Pipeline Operator
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants