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 PAA10423; Mon, 24 Mar 2003 15:04:56 +0100 (MET) 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 PAA10637 for ; Mon, 24 Mar 2003 15:04:55 +0100 (MET) Received: from inria.fr (macaque.inria.fr [128.93.8.158]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2OE4sf07374; Mon, 24 Mar 2003 15:04:54 +0100 (MET) Date: Mon, 24 Mar 2003 15:05:05 +0100 Subject: Re: [Caml-list] Profiling and classes Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: Ocaml To: Alessandro Baretta From: Damien Doligez In-Reply-To: <3E7EFB2E.9080506@baretta.com> Message-Id: <9D2B096E-5E01-11D7-AFF6-0003930FCE12@inria.fr> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) X-Spam: no; 0.00; damien:01 caml-list:01 alessandro:01 baretta:01 ocamlcp:01 pervasives:01 bug:01 3.06:01 profile:98 ocaml:01 caml:01 doligez:01 patch:02 syntax:02 patches:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday, March 24, 2003, at 01:33 PM, Alessandro Baretta wrote: > If I use ocamlcp to attempt to profile the execution of a caml program > with classes, I get a syntax error. This is the piece of code > generated by ocamlcp where the syntax error comes up: > > class environment (env:env) = object > (__ocaml_prof_cnt_xcaml_session_.(5) <- Pervasives.succ > __ocaml_prof_cnt_xcaml_session_.(5); method getvar varname = .... This is a known bug in 3.06 (PR#1464). You can get a patch at < http://caml.inria.fr/patches/pr1464-patch.txt >. -- Damien ------------------- 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