Skip to content

kore-repl: do not remove direct children of branchings when using clear command #1952

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

Conversation

ana-pantilie
Copy link
Contributor


Reviewer checklist
  • Test coverage: stack test --coverage
  • Public API documentation: stack haddock

@ana-pantilie ana-pantilie requested a review from ttuegel July 3, 2020 17:02
| unReplNode node == 0 ->
putStrLn' "Cannot clear initial node (0)."
| isDirectDescendentOfBranching node graph ->
putStrLn' "Cannot clear a direct descendent of a branching node."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
putStrLn' "Cannot clear a direct descendent of a branching node."
putStrLn' "Cannot clear a direct descendant of a branching node."

Can we also add a note to the help text for this command, which explains that this would make the proof invalid?

@rv-jenkins rv-jenkins merged commit 857a9c4 into runtimeverification:master Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants