titan.core issueshttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues2023-11-22T07:18:38Zhttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/668compound type compatibility contradicts standars2023-11-22T07:18:38ZLevente Erőscompound type compatibility contradicts standars## Summary
According to section 7.1.3 of the TTCN-3 standard, "If there is a compound expression on both sides of the comparison operator, they shall both be value list notation expressions where the elements shall be of the same root t...## Summary
According to section 7.1.3 of the TTCN-3 standard, "If there is a compound expression on both sides of the comparison operator, they shall both be value list notation expressions where the elements shall be of the same root type and they shall be compared like record of values with elements of that root type." This doesn't seem to work in Titan.
## Steps and/or TTCN-3 code to reproduce
```
testcase compoundeq() runs on ct_empty{
if({1,2,3}=={1,2,3){setverdict(pass);}else{setverdict(fail);}
}
```
## What is the current bug behavior?
Error
## What is the expected correct behavior?
Pass
## Relevant logs and/or screenshots
```
../src/datatypes.ttcn:782.21: error: at or before token `)': syntax error
```
## Possible fixes
## Titan version
8.1.0
## Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt @mmagyariBotond BaranyiBotond Baranyi