value list notation for set types is not working
Summary
Using value list notation when assigning value to a set type data element results in an error, while according to the TTCN-3 standard, section 6.2.0 it is legal.
Steps and/or TTCN-3 code to reproduce
type set mySet{
integer field1,
charstring field2
}
testcase list_notation_set() runs on ct_empty{
var mySet v := {1,"a"};
}
Try to compile the above code placed in the module.
What is the current bug behavior?
Error is produced: Value list notation cannot be used for set type `@datatypes.mySet'
What is the expected correct behavior?
code should compile as if the assignment was done like:
var mySet v := {field1:=1,field2:="a"};
Relevant logs and/or screenshots
Possible fixes
Titan version
8.1.0
Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt