-
Notifications
You must be signed in to change notification settings - Fork 4
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
Water mark does not always go up after editing stepped code #9
Comments
I was able to reproduce this right away. For me, it happens 100% of the time with
It seems that I don't have a fix in mind yet. |
I've thought about it and I have two possible fixes in mind.
I'm not a fan of the mess that option 2 creates, but it is the one I'm leaning toward. |
Quick remark: shouldn't a |
I've pushed a simple fix for now and filed a bug report upstream. We can come back to this if "listening to every change on every buffer" proves too costly. |
In some cases, mostly after getting a Coq error after trying to step a statement, editing stepped code will not move the water mark back up.
Steps to reproduce :
About id
(which succeeds), then step the definition foridT
(which fails becauseid
only works at Type 0).About id2
.It doesn't happen all the time... I tried to debug it by changing the logger to print to the console, and it went away. I'm suspecting maybe some async/delay issues?
(I'm back at it and may have a PR or two coming, hopefully that helps!)
The text was updated successfully, but these errors were encountered: