From: briand@aracnet.com
To: caml-list@inria.fr
Subject: method name collision ?
Date: Sat, 25 Dec 2004 11:53:00 -0800 [thread overview]
Message-ID: <16845.50460.152550.387582@soggy.deldotd.com> (raw)
I'm getting the following error
The method point has type 'a -> 'b but is expected to have type
x:int -> y:int -> unit
for this code :
method point p0 =
etc..
The error makes sense, as in, I know that it is colliding with a
method defined in the drawable class.
However I am inheriting the class using :
inherit GDraw.drawable ?colormap w as drawable
It seems to me that the method I am defining, self#point, and the
method in drawable, i.e. drawable#point, are distinct and therefore
I should not be seeing this error message ?
Can someone enlighten me ?
Thanks
Brian
next reply other threads:[~2004-12-25 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-25 19:53 briand [this message]
2004-12-25 22:57 ` [Caml-list] " Jacques Garrigue
2004-12-26 18:20 ` John Prevost
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=16845.50460.152550.387582@soggy.deldotd.com \
--to=briand@aracnet.com \
--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