Skip to content
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

Improve the propagation of explanations when a Spec fails. #4739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 15, 2024

  1. Improved the error messages when a Spec fails.

    The function explainSpec no longer drops explanations on TypeSpec
    Added guardTypeSpec, which catches errors earlier, so there is less noise.
    function symbols like subset_ and member_ print a elided version of their set
    arguments when they are large literals. Improves readabilty as irrelevant
    information no longer overwhelms the user.
    Add the constructor ExplainSpec to Specification
    Assert now has type Assert :: Term fn Bool -> Pred fn
    TimSheard committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    16f5cf0 View commit details
    Browse the repository at this point in the history