You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a get/release resource behavior action (noted <! and >!), the plugin fails and produces the following error message:
type error for 'lock', 'subprogram classifier' expected, found 'requires data access'.
This is a recent regression.
Steps to Reproduce
import the following model
see the error message attached to the behavior actions (no error message should appear since the model is correct)
package issueGetReleaseResource
public
data d
end d;
subprogram spg
features
lock: requires data access d {Concurrency_Control_Protocol => Protected_Access;};
annex behavior_specification {**
STATES
singleton: initial final state;
TRANSITIONS
t: singleton -[]-> singleton
{
lock!<;
lock!>
};
**};
end spg;
end issueGetReleaseResource;
Environment
OSATE Version: 2.7.0
Operating System: Linux
The text was updated successfully, but these errors were encountered:
Summary
When using a get/release resource behavior action (noted <! and >!), the plugin fails and produces the following error message:
type error for 'lock', 'subprogram classifier' expected, found 'requires data access'.
This is a recent regression.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: