You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take the following incomplete proof (the | marking my cursor)
Lemma nat_not_negative : forall i : nat, ~(i < 0) .
Proof.
intro i. |
Qed.
Note the space between the . and my cursor. If you then instruct the plugin to evaluate to the cursor it will also evaluate the Qed, and then complains the proof is incomplete. This seems to be caused by the fact that the evaluate to cursor doesn't consider where the check will end up after evaluating one extra statement, instead it just checks if we are still before the cursor. So unless the cursor is right after the . it will always evaluate an extra statement.
The text was updated successfully, but these errors were encountered:
- if manager.autorun_forward and manager.position < manager.autorun_point:+ if manager.autorun_forward and self._find_statement().end() < manager.autorun_point:
Take the following incomplete proof (the
|
marking my cursor)Note the space between the
.
and my cursor. If you then instruct the plugin to evaluate to the cursor it will also evaluate the Qed, and then complains the proof is incomplete. This seems to be caused by the fact that the evaluate to cursor doesn't consider where the check will end up after evaluating one extra statement, instead it just checks if we are still before the cursor. So unless the cursor is right after the.
it will always evaluate an extra statement.The text was updated successfully, but these errors were encountered: