Incorrect code generation of select statements with goto
Submitted by Bence Janos Szabo
Assigned to Bence Janos Szabo
Link to original bug (#510562)
Description
If a goto statement jumps over a select case statement then the generated code will not compile.
Example:
function f () runs on C { var boolean v_result; var charstring pl_messageType := "s"; v_result := true; if (not v_result) { goto END_EXECUTION };
select (pl_messageType) { case ("SS") { v_result := false; } } label END_EXECUTION; }
Version: 5.5.0