-
Notifications
You must be signed in to change notification settings - Fork 1
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
How does one fix an interval collision? #3
Comments
@pfdietz did you see this issue? |
Hey Eric, I missed this until now, but I think you might want the following instead:
These interval issues usually come up when re-inserting an AST into a tree where it already exists. I thought we were checking for this automatically, but I guess this isn't working or isn't implemented, so an explicit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When trying to replace a call with the called function (minimal example at the bottom of this issue) I'm getting interval collisions. I see that this error is external and looks like there should be some way for the user to catch and handle the error, but I couldn't find anything on this in the documentation. Is there a general way to catch and handle these errors? If not what do you recommend one do to move around code within a program based on
functional-trees
as attempted below?Thanks!
A
simple.c
example program.A function to replace a call with the body of the called function.
The results of attempting the replacement on this simple example.
The text was updated successfully, but these errors were encountered: