On Wed, Jul 09, 2014 at 14:56:59 +0000, Andrew Edwards via Digitalmars-d-announce wrote: > My concern is that this shouldn't compile in the first place. What is > xyz?, Is it a free function? Is it a member variable or function? In > my mind it is neither of the two so why does it compile? Removing the > string changes the signature of opDispatch but as shown in my prior > example, there are orther ways to cause this error.
It's swizzling. gl3n[1] implements it as well. --Ben [1]https://github.com/Dav1dde/gl3n/blob/master/gl3n/linalg.d#L375