Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006028OCamlOCaml standard librarypublic2013-06-02 15:102013-06-02 16:44
Reporteravsm 
Assigned Tohongboz 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006028: fix scanf.ml build in trunk SVN
DescriptionThere's a small error in stdlib/scanf.ml that's causing trunk to fail to build at the moment
File "scanf.ml", line 640, characters 14-75:
Error: This expression has type string -> string
but an expression was expected of type string

index 44199a9..8f694fd 100644
--- a/stdlib/scanf.ml
+++ b/stdlib/scanf.ml
@@ -637,7 +637,7 @@ let scan_digits_plus basis digitp width ib =
     let width = Scanning.store_char width ib c in
     scan_digits width
   else
- bad_input (Printf.sprintf "character %C is not a valid %s digit" basis)
+ bad_input (Printf.sprintf "character %C is not a valid %s digit" c basis)
 ;;
 
 let is_binary_digit = function

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009380)
hongboz (developer)
2013-06-02 16:43

fixed in revision 13728

- Issue History
Date Modified Username Field Change
2013-06-02 15:10 avsm New Issue
2013-06-02 16:43 hongboz Note Added: 0009380
2013-06-02 16:44 hongboz Assigned To => hongboz
2013-06-02 16:44 hongboz Status new => resolved
2013-06-02 16:44 hongboz Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker