//However, because cases on ints are also used by internal dictionary functions, and a few other situations
//it could happen that this occurs because of an internal error.
//todoBI encode enough information into Expression.Switch so that we know which case we're in.
//todoBI pass the unhandled int value that occurred at runtime i.e. 2 in the above example, to the error message
JavaStatement defaultCase = generateReturn(getUnhandledSwitchIndexForIntPatternCall(eswitch.getErrorInfo()), variableContext);
switchStatement.addCase (new SwitchStatement.DefaultCase(defaultCase));
}
return switchBlock;
}