From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA30541; Sun, 9 Jun 2002 15:41:47 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA20863 for ; Sun, 9 Jun 2002 15:41:46 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g59DfjH07560; Sun, 9 Jun 2002 15:41:45 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA30415; Sun, 9 Jun 2002 15:41:44 +0200 (MET DST) Date: Sun, 9 Jun 2002 15:41:44 +0200 From: Xavier Leroy To: Alessandro Baretta Cc: Ocaml Subject: Re: [Caml-list] Compiler killer code? Message-ID: <20020609154144.A30403@pauillac.inria.fr> References: <3D02156D.7070303@baretta.com> <20020608143402.GQ6777@holomorphy.com> <3D035829.1060401@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3D035829.1060401@baretta.com>; from alex@baretta.com on Sun, Jun 09, 2002 at 03:29:13PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Objective Caml version 3.04+13 (2002-06-05) > > # type t = t -> t ;; > type t = t -> t > # let rec f (x:t) = f f ;; > Interrupted. This looks like a bug in the development version. Without the -rectypes flag, the declaration of t should be rejected, like it is in OCaml 3.04. Interestingly, the development version handles your example just fine when -rectypes is set. A note to users of the development version: we appreciate your testing, but please keep the latest official release around to check weird behaviors, and when you observe a discrepancy like the above, report it to caml-bugs@inria.fr. - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners