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

problems with ocaml on sparc #2982

Closed
vicuna opened this issue Jul 23, 2004 · 1 comment
Closed

problems with ocaml on sparc #2982

vicuna opened this issue Jul 23, 2004 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 23, 2004

Original bug ID: 2982
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Per Øyvind Karlsen
Version: 3.08.0
OS: Mandrake Linux
Submission from: terror.sintrax.net (81.0.165.66)

here's a folluwoup to 2980 (I wasn't allowed to post followups as guest user)

% cat > t.ml
let rec string_forall_with f i s =
try
f s.[i] && string_forall_with f (i+1) s
with Invalid_argument _ -> true
;;
string_forall_with (fun _ -> true) 0 "foo"

% ocamlopt t.ml
% ./a.out
Fatal error: out-of-bound access in array or string

btw. same happens with cvs version

@vicuna
Copy link
Author

vicuna commented Aug 13, 2004

Comment author: administrator

See #2980

@vicuna vicuna closed this as completed Aug 13, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant