Closed jdettlaff closed 10 years ago
This program fragment will result in output "-7" when it should be an error. Looks like "-2-" is successfully converted to an int when it should stay a string. ------[-5]----[-2-]----a-------o--#
Done, we now push a java/lang/String if the input begins with an int, but ends with non-numeric characters.
This program fragment will result in output "-7" when it should be an error. Looks like "-2-" is successfully converted to an int when it should stay a string. ------[-5]----[-2-]----a-------o--#