On Wednesday, 18 May 2016 at 22:23:45 UTC, jmh530 wrote:
Is this true of all @property functions?


No, this is purely a range thing where it's legal to have your front be a public member variable rather than a getter function.

Should this be noted in the spec?

While somewhat supported in the language, at the end of the day ranges are library types, so no.

Should it be an error?

No, people's code will error if they try to call a non callable anyway.

Reply via email to