Dash not accepted as actual parameter value for out parameter
Summary
The actual value of an out parameter can be specified as '-' according to 5.4.2 paragraph 3 of the TTCN-3 standard. Yet, TITAN does not accept it.
Steps and/or TTCN-3 code to reproduce
Create a module including the following:
function fn_dash_actual_parameter_value_in_out_inout (in integer ip, out integer op, inout integer iop){
op := iop;
iop := ip;
}
testcase tc_dash_actual_parameter_value_in_out_inout() runs on ct_empty{
var integer vo := 2;
var integer vio := 3;
fn_dash_actual_parameter_value_in_out_inout(1,-,vio);//should work
}
Run the testcase.
What is the current bug behavior?
Error message "Not used symbol (`-') cannot be used for parameter that does not have default value" is returned during compilation and on the GUI.
What is the expected correct behavior?
The code shall compile.
Relevant logs and/or screenshots
Possible fixes
Titan version
8.1.2
Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt