-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branch: 17277-StringasInteger-has-not-defined-behavior, Fixes #17277 #17918
base: Pharo13
Are you sure you want to change the base?
Branch: 17277-StringasInteger-has-not-defined-behavior, Fixes #17277 #17918
Conversation
…roject#17277 String>>#asInteger uses NumberParser
Yes this is better. |
Oops For example Got 1.234 instead of 1. TestFailure |
|
I changed it to |
This seems to be breaking some Duration tests now Also I wonder if the reflectivity failure is not related |
in the case of the Duration Tests, the problem is that NumberParser does not accept plus sign at the beginning: The question is, what to do then. |
String>>#asInteger uses NumberParser
Later, we should deprecate
asSignedInteger