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

[BUG] Apalache fails with an unreadable message when Seq is used #1126

Closed
konnov opened this issue Dec 1, 2021 · 1 comment
Closed

[BUG] Apalache fails with an unreadable message when Seq is used #1126

konnov opened this issue Dec 1, 2021 · 1 comment
Assignees
Labels
usability UX improvements

Comments

@konnov
Copy link
Contributor

konnov commented Dec 1, 2021

This is a follow up of #957.

The specification mentioned there fails because of using Seq(S). We should improve the error message and guide the user to an explanation in the manual.

An MWE:

------------------------------- MODULE Bug1126 --------------------------------
\* an MWE for #1126

EXTENDS Sequences

VARIABLE
    \* @type: Seq(Int);
    seq

Init ==
    seq = << >>

Next ==
    \* as apalache does not support Seq(S), it fails here
    \E s \in Seq({1, 2, 3}):
        seq' = s
===============================================================================
@konnov konnov added bug usability UX improvements and removed bug labels Dec 1, 2021
@konnov konnov added this to the December iteration milestone Dec 1, 2021
@konnov konnov self-assigned this Dec 1, 2021
@konnov
Copy link
Contributor Author

konnov commented Dec 1, 2021

The right way to fix it is by fixing #1127 first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability UX improvements
Projects
None yet
Development

No branches or pull requests

1 participant