On 11.04.2016 00:06, Manuel Maier wrote:
So, is this a bug, or is it intended behavior? In case of the latter,
I'd gladly add it to the documentation.
Looks like a bug to me. And it's already been filed:
https://issues.dlang.org/show_bug.cgi?id=13392
I'm not sure whether I've found a bug or if I found some very
strange but intended behavior. If it is indeed intended behavior,
I'd like to know the rationale behind it because this one
surprised me a lot when I found it out after 16+ hours of
debugging...
Have a look at this code snippet: