Community
Participate
Working Groups
Created attachment 200522 [details] FVT testcase In TestExitStatementLib (from the FVT testcases), there's this test: // Test default exit within IF block counter = 1; if ( true ) exit; counter = 0; end Both Java and JavaScript generators produce code that replace the unlabeled exit with a return statement, e.g. counter = 1; EzeLabel_7: if (true) { return ; counter = 0; } I've attached the FVT testcase.
Logic has been added to check for this situation
Verified.