[haXe] overloading parent with different type
cornel
tcornel at gmail.com
Sat Apr 8 10:55:04 CEST 2006
out of curiosity, does java allow it?
On 4/8/06, Benjamin Dasnois <benjamin.dasnois at gmail.com> wrote:
> 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
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
More information about the Haxe
mailing list