On Tuesday, 2 February 2016 at 03:36:25 UTC, Steven Schveighoffer wrote: > int y() { return 1;} No need for meta-programming hackery, mark it as @property: int y() @property { return 1;}