-
Notifications
You must be signed in to change notification settings - Fork 80
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
Crash related to revert #53
Comments
The crash occurs because Would it make sense to just have (This code was removed in Lean 4 in this commit: leanprover/lean4@69070f4#diff-8e1b5fb692d035eb36593afedf77385f) |
I wouldn't go this deep. I think |
(I have recent commit that does similar things: 06ff399) |
Sounds good; I think I see something reasonable to PR when I’m back with my Lean computer. |
(Namely, I want to skip over duplicates in this loop: lean/src/library/tactic/revert_tactic.cpp Line 36 in ec1613a
|
I'm not sure if it's worth getting through the trouble of skipping duplicates. I think reporting an error is better. It has the nice property that |
OK, we can certainly throw an error, but I think we still have to do duplicate detection, right? Otherwise we’ll have to make deeper changes. I might be missing an easier way to test for this though. |
We still have to do duplicate detection. I was just saying that throwing an error will probably be simpler than removing duplicates. |
Reported by @Vtec234 on Zulip. The following code crashes both 3.4.2 and the latest 3.5.0c nightly ("nightly-2019-05-17"):
This does not crash when run in the web editor.
The text was updated successfully, but these errors were encountered: