Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Profiling and classes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Profiling and classes
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