Semantic analyzer puts false error markers "Reference to a non-existent field" onto an open type value
Submitted by Jeno Attila Balasko
Link to original bug (#559832)
Description
Created attachment 281700 JSonData.asn : the first example file (data)
The semantic analyser of the titan eclipse plugin puts two error markers on the file OpenTypeBug.ttcn, altought the files can be compiled successfully by the cpp code generator. The markers:
Description Resource Path Location Type
Reference to a non-existent field iNTEGER' in union value for type
@JsonData.ProtocolElem-Field.JsonData.inst1.val[1]' OpenTypeBug.ttcn /TR_2019_12_ttcn2cpp/src/ASN_OpentypeBug.ttcn line 26 on-the-fly semantic markers
Reference to a non-existent field iA5String' in union value for type
@JsonData.ProtocolElem-Field.JsonData.inst1.val[1]' OpenTypeBug.ttcn /TR_2019_12_ttcn2cpp/src/ASN_OpentypeBug.ttcn line 27 on-the-fly semantic markers
Attachment 281700, "JSonData.asn : the first example file (data)":
JsonData.asn
Version: 6.6.1