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
If a BA subclause contains a subprogram call action that refers to something else than a subprogram classifier (e.g. subprogram access or subprogram subcomponent) the plugin throws an error.
Steps to Reproduce
create a package with the following example
the BA plugin throws an error on subrogram access call
package BA_example1
public
data number
end number;
subprogram mul
features
x : in parameter number;
y : in parameter number;
z : out parameter number;
end mul;
subprogram cube
features
x : in parameter number;
y : out parameter number;
mul : requires subprogram access mul;
end cube;
subprogram implementation cube.ba
annex behavior_specification {**
variables tmp : number;
states s : initial final state;
transitions t : s -[]-> s { mul!(x,x,tmp); mul!(tmp,x,y) };
**};
end cube.ba;
end BA_example1;
Environment
OSATE Version: 2.7.0
Operating System: Linux
The text was updated successfully, but these errors were encountered:
lwrage
changed the title
Behavior annex: plugin throws an error if subprogram call action refers to something else than a subprogram lassifier
Behavior annex plugin throws an error if subprogram call action refers to something else than a subprogram classifier
Feb 26, 2020
Summary
If a BA subclause contains a subprogram call action that refers to something else than a subprogram classifier (e.g. subprogram access or subprogram subcomponent) the plugin throws an error.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: