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
Unify assertions AST with Babel #1158
Comments
Shouldn't it be the other way round? Babel merged theirs in 44 minutes ago, and I don't think they've released it - so it'd be better for them to align to us. |
Probably. I read this in readme
but didn't know how exactly this process works and which project is considered the source of truth. |
Looking at that PR, nobody involved in this project was pulled in at all to eyeball, and none of the reviewers are involved here as well. James has been involved in the babel side of things in the past but he's been pretty busy with real life stuff. We have a few other people who are collaborators on both projects, but then that relies them seeing the work in both repos (or being notified). |
@bradzacher sorry I missed this (been traveling quite a bit). re: alignment, feel free to ping me as things get ready to land here for TS (might even be nice to setup a group to cc with @hzoo and @nicolo-ribaudo too), and we'll be sure /cc you and James on the Babel-side! |
@bradzacher And what is the process supposed to be for the existing differences? E.g. for |
Definitely, I think it makes sense to add a collaborator list here so we can easily tag the relevant babel peeps when we are making / talking about the AST (and vice versa for babel when the TS AST is being worked on).
We don't have one! There's a bunch of stuff that I've been thinking about around this, because there's a lot of weirdness in the AST. |
We should definitely ping each other when designing new ASTs. We already have a #typescript room in our Slack channel, we might use it for any chat which doesn't fit well the GitHub issue format. Regarding the AST differences, do you already know the complete set of them? |
We have a basic alignment pipeline setup in this repo, but since james set it up, it has fallen a bit into disrepair. Here is a list of our fixtures where the two impls differ in some way. This test can definitely be improved (like ignoring times that we emit Side note that we probably need to have a lot more cases added to our fixtures, I know there's a number of edge case gaps that we don't have proper testing for (eg #1100).
I just joined the slack + channel |
The Babel team named the node property
assertsModifier
, notasserts
. Let's rename it while it's not too late, shall we?babel/babel#10543
The text was updated successfully, but these errors were encountered: