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

Error: don't use edit notation in observables #617

Open
hmedina opened this issue May 29, 2020 · 0 comments
Open

Error: don't use edit notation in observables #617

hmedina opened this issue May 29, 2020 · 0 comments

Comments

@hmedina
Copy link
Collaborator

hmedina commented May 29, 2020

Cryptic error:
1/1 File "term/pattern_compiler.ml", line 593, characters 20-26: Assertion failed

In the GUI, the following MWE produces the cryptic error:

%agent: Bob(a,b)
%obs: 'foo' |Bob(a[./1]), Bob(b[./1])|

The GUI's parser does not flag the error on the observable line, which is using edit notation inside an observable. Instead it throws a rather cryptic error, which points to a function about some assertion related to unary rules and the mixture failing.

  • The GUI/IDE should catch this syntax error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants