| Anonymous | Login | Signup for a new account | 2013-05-21 15:00 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 | |||
| 0003992 | OCaml | OCaml general | public | 2006-03-26 13:45 | 2008-09-10 17:36 | |||
| Reporter | Christophe Troestler | |||||||
| Assigned To | weis | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.09.1 | |||||||
| Target Version | Fixed in Version | 3.11+dev | ||||||
| Summary | 0003992: Printf: positional specifiers do not work | |||||||
| Description | According to the documentation, Printf.sprintf "%1$i" should be the same as Printf.sprintf "%i" but instead gives: # Printf.sprintf "%1$i";; Characters 15-21: Printf.sprintf "%1$i";; ^^^^^^ Bad conversion %$, at char number 0 in format string ``%1$i'' | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships |
||||||||||||||||
|
||||||||||||||||
Notes |
|
|
(0003609) weis (developer) 2006-04-05 17:57 |
Indeed, the documentation is ahead from the typechecker's implementation. A quick and easy fix is to change the documentation; a better fix would be to get the typechecker correct wrt the [printf] documentation. I'll give a try to this last option. |
|
(0004606) doligez (manager) 2008-09-10 17:36 |
Quick fix: remove positional parameters in printf/scanf and their documentation. They will come back when we manage to make them work perfectly. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-03-26 13:45 | Christophe Troestler | New Issue | |
| 2006-03-29 16:09 | doligez | Status | new => assigned |
| 2006-03-29 16:09 | doligez | Assigned To | => weis |
| 2006-04-05 17:57 | weis | Note Added: 0003609 | |
| 2008-09-10 17:05 | doligez | Relationship added | related to 0004321 |
| 2008-09-10 17:36 | doligez | Note Added: 0004606 | |
| 2008-09-10 17:36 | doligez | Status | assigned => closed |
| 2008-09-10 17:36 | doligez | Resolution | open => fixed |
| 2008-09-10 17:36 | doligez | Fixed in Version | => 3.11+dev |
| 2008-09-11 13:49 | doligez | Relationship added | has duplicate 0004290 |
| 2008-09-11 13:49 | doligez | Relationship added | has duplicate 0004204 |
| Copyright © 2000 - 2011 MantisBT Group |