Too many error messages for Event-B formulas

Description

In the Jupyter kernel and inside ProB2-UI's REPL we get too many error messages when parsing of an Event-B formula fails.

The formula is parsed as expression, predicate and substitution. However, we should probably only provide one of the error messages (not 4).

Also, in most settings substitutions are not allowed anyway, but the user often sees the last error message (expected to find assignment operator), which is confusing.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Priority

Created November 6, 2020 at 10:06 AM
Updated November 6, 2020 at 10:06 AM