You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have reproduced it on my computer as well with different values and types (strings and floats) but I did not manage to raise a Bus Error. The version running on my PC is 3.06.
Original bug ID: 4002
Reporter: sumii
Status: closed (set by @garrigue on 2006-04-18T00:03:45Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.09.1
Category: typing
Has duplicate: #4179
Monitored by: sumii @alainfrisch @mmottl
Bug description
Credit due to some students in Tokyo... (Sorry, I read their blogs but don't know their real names.)
$ ledit ocaml
Objective Caml version 3.09.1
exception Ex of _ ;;
exception Ex of 'a
let mymagic x =
;;
val mymagic : 'a -> 'b =
print_int (mymagic (1,2));;
121358- : unit = ()
print_int (mymagic (1,2));;
112900- : unit = ()
print_int (mymagic (1,2));;
104442- : unit = ()
print_int (mymagic (1,2));;
95984- : unit = ()
print_int (mymagic (1,2));;
153058- : unit = ()
print_float (mymagic 1);;
Bus error
$
The text was updated successfully, but these errors were encountered: