private Executable[] TrimBreak(Executable[] executables) { TODO.PastelCompileTimeCheckForAbsenceOfBreakInSwitchStatementCodeOtherThanTheEndForTheSakeOfPythonCompilation(); int length = executables.Length; if (length == 0) { return(executables); } Executable last = executables[length - 1]; if (last is BreakStatement) { Executable[] trimmed = new Executable[length - 1]; for (int i = length - 2; i >= 0; --i) { trimmed[i] = executables[i]; } return(trimmed); } return(executables); }