[haXe] Getter & Setter problems
Benjamin Dasnois
benjamin.dasnois at gmail.com
Wed Aug 1 09:34:25 CEST 2007
I modified the wiki some days ago and wrote it in the important
remarks about properties. Guess that's not enough. I did hesitate to
add the return type of the setter in the example since it relies on
type inference right now, but I didn't. Should we add it?
On 8/1/07, Guntur N. Sarwohadi <gsarwohadi at gmail.com> wrote:
> Oops.. my bad.. the others are right.. :D -_-'
>
>
> On 8/1/07, Guntur N. Sarwohadi <gsarwohadi at gmail.com> wrote:
> > I think you forgot to set the type output for method getX
> >
> >
> >
> > > > private function getX() <---- should have :Int after ()
> > > > {
> > > > return( m_x );
> > > > }
> > > >
> > >
> >
> > [g]
> >
>
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
More information about the Haxe
mailing list