-
Notifications
You must be signed in to change notification settings - Fork 0
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
🐛🕳 Debug holes #14
base: main
Are you sure you want to change the base?
🐛🕳 Debug holes #14
Conversation
So what is very strange is that the "bug" I fixed in 61c28eb seems to not be detectable... Consider the following example:
The correct output is:
I would expect that before fixing the bug, it would have incorrectly printed the following output, since the goal quotation would be happening in the environment containing only the ambient level variable:
But nonetheless, it behaved correctly. What is going on? Edit: In fact, the behavior remains the same even when I remove all the |
@jonsterling The behavior you're observing makes sense and is not a bug. First note that the two inner
The goal is
Then the old code gives
Which is wrong in the way we would expect. The goal type is
With the new code, we get the correct result
This actually produces this error
for unknown reasons lol, but it happens after the hole getting printed so it's not because of the aforementioned stuff. |
oh wow, you are so right! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased the PR.
Resolves #13