false positive semantic error in unmap parameter evaluation: "Too few parameters"
Submitted by Jeno Attila Balasko
Assigned to Jeno Attila Balasko
Link to original bug (#568239)
Description
Created attachment 284562 common.ttcn example file
In regression_test/map_param/common.ttcn the semantic analyzer detects a false positive error "Too few parameters: 2 was expected instead of 1 common.ttcn /TR_2020_09_ttcn2cpp/src/map_param line 47 on-the-fly semantic markers"
Code details: type component CT { port PT pt; var boolean map_param := false; var boolean unmap_param := false; var boolean map_empty := false; var boolean unmap_empty := false; } ... var integer v_p := P_INITIAL; unmap(p_comp:pt, system:pt) param(v_p); //line 47, this line is markered
Attachment 284562, "common.ttcn example file":
common.ttcn
Version: 7.1.0