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
- 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
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