Skip to content

instance of general actions  #30

@zhangyuanlin

Description

@zhangyuanlin

I got error message

ErrorID: TYP001
Message: The sort of 
variable [X at (/Users/yuazhang/Desktop/CALM/examples/allInOneMonkeyB.tp :3:53)] 
cannot be determined.
Explanation: Every variable must have a sort from which it obtains its possible values.
Recommendation: Consider adding an instance(Var, sort) literal to the body of the rule.

for ALM statement

            executability conditions
                impossible occurs(X) if
                    instance(X, actions), occurs(Y), X!=Y.

Is there anything wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions