type qualified enum value causes error
Summary
If a value of a given enum type is referenced in a type qualified way, TITAN runs into error, however according to Example 2 of section 6.2.4 of the TTCN standard, it should be legal.
Steps and/or TTCN-3 code to reproduce
Create a module with the following content
type enumerated e1{A,B,C}
testcase comp_enum() runs on ct_empty{
if(e1.A==B){}
}
Compile it
What is the current bug behavior?
An error is produced
What is the expected correct behavior?
The code should compile
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