Is This a Bug

Jonathan M Davis jmdavisProg at gmx.com
Wed Oct 26 12:41:34 PDT 2011


On Wednesday, October 26, 2011 21:05:10 Timon Gehr wrote:
> map!q{ a }(a); fails purity validation too.
> That is possibly a compiler bug.

Quite possibly. I'd have to look at it. There are certainly cases where things 
should be pure or should able to be pure but aren't or can't right now, but 
the situation has been steadily improving - particularly ever since inference 
was added for pure, @safe, and nothrow was added to templates.

- Jonathan M Davis


More information about the Digitalmars-d mailing list