On Friday, 1 February 2013 at 00:59:47 UTC, Zach the Mystic wrote:
writeln(foo.n); // uses alias this to call __mightAsWellBeOpGet
No it won't. It will print "n()".And that exactly (passing to a templated parameter) is the insurmountable problem in using a variable to represent a property.
