Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tactic/hint): if hint can solve the goal, say so (#2474)
It used to be that `hint` would print: ``` the following tactics make progress: ---- tac1 tac2 tac3 ``` with the tactics listed in order of number of resulting goals. In particular, if `tac1` and `tac2` actually solve the goal, while `tac3` only makes progress, this isn't explained. With this PR, if any of those tactics actually close the goal, we only print those tactics, with text: ``` the following tactics solve the goal: ---- tac1 tac2 ``` Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
- Loading branch information
1 parent
15d35b1
commit 533a552
Showing
3 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters