Version française
Home     About     Download     Resources     Contact us    
Browse thread
Typing diff between 3.10.0 and 3.11.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stéphane_Glondu <steph@g...>
Subject: Re: [Caml-list] Typing diff between 3.10.0 and 3.11.0
Julien Signoles a écrit :
> Does someone know why the following code compiles with ocaml 3.11.0 and
> does not with ocaml 3.10.0? I find nothing in the documented ocaml
> changes which could imply such a diff.
> 
> =====
> let output =
>   print_endline ""; (* all is fine without this side effect *)
>   (fun fmt -> Format.printf fmt)
> 
> let () =
>   output "%s" "";
>   output ""
> =====

The code does compile with 3.10.2. The closest thing I can find in the
Changes file is PR#4354, fixed in 3.10.1. But this is just a quick guess.


HTH,

-- 
Stéphane