From: Remi VANICAT <vanicat@labri.u-bordeaux.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] "abbreviation of class expands to type.., but is used with type.."
Date: 08 Jan 2002 12:01:18 +0100 [thread overview]
Message-ID: <87ell1rts1.dlv@wanadoo.fr> (raw)
In-Reply-To: <Pine.SOL.4.43.0201080207270.10751-100000@conquest.OCF.Berkeley.EDU>
"Walter B. Rader" <wrader@OCF.Berkeley.EDU> 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
next prev parent reply other threads:[~2002-01-08 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-08 10:10 Walter B. Rader
2002-01-08 11:01 ` Remi VANICAT [this message]
2002-01-08 12:31 ` Clement Renard
2002-01-08 11:04 Florian Douetteau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ell1rts1.dlv@wanadoo.fr \
--to=vanicat@labri.u-bordeaux.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox