On Mon, 19 Jul 2010 22:42:51 +0200, Philippe Sigaud <philippe.sig...@gmail.com> wrote:
Simen is using the fact that the compiler already has to figure out if there is an overload that matches the requirements. So it ends up taking the only one that works. Since it seems to ignore the ref return type property, the property that takes an uint argument must have a higher precedence (gets checked if it works first). I wonder if its because Walter probably implemented function overloading before properties and ref return types. Hopefully its a language feature and not just a implementation side effect. -Rory |
- Detecting a property setter? Rory McGuire
- Re: Detecting a property setter? Simen kjaeraas
- Re: Detecting a property setter? Philippe Sigaud
- Re: Detecting a property setter? Jonathan M Davis
- Re: Detecting a property setter? Rory McGuire
- Re: Detecting a property setter? Jonathan M Davis
- Re: Detecting a property setter? Rory McGuire
- Re: Detecting a property setter? Rory McGuire