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 MAA02557; Tue, 8 Jan 2002 12:01:44 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA02399 for ; Tue, 8 Jan 2002 12:01:43 +0100 (MET) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g08B1f109678 for ; Tue, 8 Jan 2002 12:01:41 +0100 (MET) Received: from mel-rta4.wanadoo.fr (193.252.19.58) by mel-rto4.wanadoo.fr; 8 Jan 2002 12:01:41 +0100 Received: from debian (80.8.74.234) by mel-rta4.wanadoo.fr; 8 Jan 2002 12:01:13 +0100 Received: from moi by debian with local (Exim 3.33 #1 (Debian)) id 16Nu0N-0000S9-00 for ; Tue, 08 Jan 2002 12:01:19 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] "abbreviation of class expands to type.., but is used with type.." References: From: Remi VANICAT Date: 08 Jan 2002 12:01:18 +0100 In-Reply-To: Message-ID: <87ell1rts1.dlv@wanadoo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Walter B. Rader" writes: > I'm getting a vague error message when trying to compile my project in > OCaml. The summary of the error message is in the subject of the message, > again summarized here: > > "The abbreviation widgetBase expands to type ... > but is used with type..." > > (Full text appears below.) The error apparenty appears on line 140, which > is the start of the definition of the class. Therefore, I have no idea > where I'm using the class incorrectly. > > Any suggestions? Yes, you should look the difference between the two < add_widget : widgetBase -> int -> int -> bool -> int -> unit; ... widgetWasMoved : widgetInfo -> unit > there should be some. And you will find more precisely where is the mistake. You should also look to the reference to self in the class definition... -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr