[haXe] overloading parent with different type

Benjamin Dasnois benjamin.dasnois at gmail.com
Sat Apr 8 10:46:28 CEST 2006


Well almost all all modern object oriented languages react the way
haXe does... That's because as Martin explained, you can have a
function that want a A, it will get a B, and it doesn't event know
that the function's type is not an Int but a String... That's pretty
logical and in fact, I think that's the best way of handling this
situation...

On 4/7/06, cornel <tcornel at gmail.com> wrote:
> > sorry to not answer your question
>
> actually i dont really have a question, i just dont understand why
> haxe considers those cases as beign errors.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>


--
DASNOIS Benjamin



More information about the Haxe mailing list