...
On Wednesday, 27 April 2016 at 18:34:18 UTC, Artur Skawina wrote:
...
       ref M()   { return matrix.rawArr; }
       ref Ex1() { return e1.someProperties.someModulusX; }
...

If the generated code is equal, without relying on too much optimization, I agree this is close enough, although uglier. If so, it raises the question of why having the with-statement in the language in the first place? However, I doubt you will have the same control in an equally convenient way.

Reply via email to