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
Original bug ID: 1990 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Martin Jambon
Version: 3.07+2
OS: Linux
Submission from: f03v-10-10.d1.club-internet.fr (212.194.45.10)
$ cat test.ml
let f =
if true then
(fun x ->
if true then print_int x)
else
print_int
$ camlp4o pr_o.cmo test.ml
let f = if true then fun x -> if true then print_int x else print_int
Which is the same as:
let f = if true then (fun x -> if true then print_int x else print_int)
But it should be:
let f = if true then (fun x -> if true then print_int x) else print_int
The text was updated successfully, but these errors were encountered:
Original bug ID: 1990
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Martin Jambon
Version: 3.07+2
OS: Linux
Submission from: f03v-10-10.d1.club-internet.fr (212.194.45.10)
$ cat test.ml
let f =
if true then
(fun x ->
if true then print_int x)
else
print_int
$ camlp4o pr_o.cmo test.ml
let f = if true then fun x -> if true then print_int x else print_int
Which is the same as:
let f = if true then (fun x -> if true then print_int x else print_int)
But it should be:
let f = if true then (fun x -> if true then print_int x) else print_int
The text was updated successfully, but these errors were encountered: