-
Notifications
You must be signed in to change notification settings - Fork 55
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
Tree: store cast kind as part of implicit/explicit cast nodes #244
Conversation
Looks good. I'd prefer if explicit casts were dumped the same way as implicit ones (cast kind, no "operand:").
It'd probably be best to unify that, the various if's in |
I was thinking it might make sense to add some testing around the AST layout before I try to have |
Sounds good to me. I'm guessing the plan is to do a string comparison on the output of |
I was thinking just strings compare initially; perhaps something more sophisticated if minor formatting changes make the strings too annoying |
Test failure caused by Git messing with the line ends, fixed by adding |
Is this blocked on something? |
I think I set it aside to work on some other things I needed to complete it and then forgot about it - I can look into resolving the conflicts |
There's still the potential cleanup for |
Briefly discussed here: #232 (comment)
If you like this approach I can fill out the
fromExplicitCast
function.