| Anonymous | Login | Signup for a new account | 2013-06-20 09:15 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005829 | OCaml | OCaml standard library | public | 2012-11-16 05:23 | 2012-12-19 02:39 | ||||||
| Reporter | berenger | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | Intel_x86_64 | OS | Linux | OS Version | squeeze/sid | ||||||
| Product Version | 4.00.0 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0005829: int_of_string failure | ||||||||||
| Description | This fails: int_of_string " 123";; Exception: (Failure int_of_string). While this works: float_of_string " 123";; - : float = 123. I am a little surprised. Regards, F. | ||||||||||
| Steps To Reproduce | int_of_string " 1";; | ||||||||||
| Additional Information | These also fail: # int_of_string "1 ";; Exception: Failure "int_of_string". # float_of_string "1.0 ";; Exception: Failure "float_of_string". | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0008518) frisch (developer) 2012-11-16 17:50 |
(Downgrading severity from crash to minor: it's a matter of choice whether those functions should ignore leading/trailing whitespace.) |
|
(0008628) berenger (reporter) 2012-12-19 02:39 |
Consistency in the choice would be nice. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-11-16 05:23 | berenger | New Issue | |
| 2012-11-16 17:50 | frisch | Note Added: 0008518 | |
| 2012-11-16 17:50 | frisch | Severity | crash => minor |
| 2012-12-19 02:39 | berenger | Note Added: 0008628 | |
| Copyright © 2000 - 2011 MantisBT Group |