TItan cannot concatenate arrays
Summary
Arrays should be able to be concatenated using the & operator, according to section 7.1.2 of the standard. Titan does not support this.
Steps and/or TTCN-3 code to reproduce
module operators {
type component ct_empty{}
type record of integer roi;
testcase alloperators() runs on ct_empty{
var integer va1[2] := {1,2};
var integer va2[2] := {3,4};
var integer va3[2] := {5,6};
if(va1&va2&va3=={1,2,3,4,5,6}){setverdict(pass);}else{setverdict(fail);}
}
control{
execute(alloperators());
}
}```
## What is the current bug behavior?
Pass verdict
## What is the expected correct behavior?
Compile error
## Relevant logs and/or screenshots
```../src/operators.ttcn:33.6-8: error: Left operand of operation `&' should be a string, `record of' or `set of' value```
## Possible fixes
## Titan version
8.1.0
## Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt @mmagyari