Le 2011-04-21 à 13:45, Jonathan M Davis a écrit : > TDPL specifically gives it strict semantics. @property functions must be > called without parens, and non-@property functions must be called with them. > So, if we want to go with loose semantics, then TDPL will need to be changed. > > Personally, I don't see much point to @property if its semantics are loose.
Me neither: if the semantics are loose @property serves no purpose. But there's still a big problem: the semantics of @property are quite ambiguous when it comes to the array member syntax. Something needs to be done about that before @property can be enforced properly. I think having a @property-enforced mode, which could stay experimental for a few releases (activated with a command-line switch), would help test and sort out many of those issues. I can make a pull request for that -- is that a good idea? -- Michel Fortin [email protected] http://michelf.com/ _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
