Skip to content

Message variables are allowed in places where they should not be #41

@lou1306

Description

@lou1306

Assume message-structure: A: bool and consider this send over the broadcast channel:

{A & true} *! (true) (A := false) []

This should raise a validation error: message variables in the predicate are only allowed on receives.
Similarly:

  • Message variables should never appear as the left-hand side of an update
  • Message variables should never appear anywhere in an update after a send

We should add a simple validator to check these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions