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

ASSERTION_FAILED message result #2

Open
zyla opened this issue Jun 30, 2016 · 1 comment
Open

ASSERTION_FAILED message result #2

zyla opened this issue Jun 30, 2016 · 1 comment
Milestone

Comments

@zyla
Copy link
Owner

zyla commented Jun 30, 2016

Currently, message sent to a server can either be handled successfully or wait for state change.
Another option should be possible: terminate the program with error.
Example: reading from a buffer when it's empty, putting value into it when it's full.

Proposed syntax:
{ message | cond } -> ASSERTION_FAILED

@hator
Copy link
Collaborator

hator commented Apr 7, 2017

Or maybe change this to be aligned with the new syntax more (#5, #7) -- could look like this:

... -> { fail; }

@hator hator added this to the Rybu 2.0 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants