Re: [Caml-list] can anyone replicate this camlp4 problem?

2009-03-25 Thread Andres Varon
On Mar 25, 2009, at 4:15 PM, Peng Zang wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks, do you know of a good work around? Nope, I didn't see a satisfactory workaround. Luckily I didn't need camlp4 in those modules anymore, so I only reported the problem, corrected the Makef

Re: [Caml-list] can anyone replicate this camlp4 problem?

2009-03-25 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I only know of the brute force update which is less than desirable: class test (x : int) = object val a = x; val b = x; method add (d:int) = let copy = {<>} in let arr : int array = Obj.magic copy in arr.(2) <- arr.(2) + d; arr.

Re: [Caml-list] can anyone replicate this camlp4 problem?

2009-03-25 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks, do you know of a good work around? Peng On Wednesday 25 March 2009 04:01:24 pm Andres Varon wrote: > On Mar 25, 2009, at 3:55 PM, Peng Zang wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi, camlp4 seems to break parsin

Re: [Caml-list] can anyone replicate this camlp4 problem?

2009-03-25 Thread Andres Varon
On Mar 25, 2009, at 3:55 PM, Peng Zang wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, camlp4 seems to break parsing of object duplication on 3.11. Can anyone replicate this problem? Is this an known issue? A quick google search did not reveal anything.. Yeah. I reported the

[Caml-list] can anyone replicate this camlp4 problem?

2009-03-25 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, camlp4 seems to break parsing of object duplication on 3.11. Can anyone replicate this problem? Is this an known issue? A quick google search did not reveal anything.. Peng Objective Caml version 3.11.0 # #use "topfind";; Fin