Skip to content
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

fix scanf.ml build in trunk SVN #6028

Closed
vicuna opened this issue Jun 2, 2013 · 1 comment
Closed

fix scanf.ml build in trunk SVN #6028

vicuna opened this issue Jun 2, 2013 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jun 2, 2013

Original bug ID: 6028
Reporter: @avsm
Assigned to: @bobzhang
Status: closed (set by @xavierleroy on 2015-12-11T18:18:55Z)
Resolution: fixed
Priority: normal
Severity: block
Category: standard library

Bug description

There'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

@vicuna
Copy link
Author

vicuna commented Jun 2, 2013

Comment author: @bobzhang

fixed in revision 13728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant