Update #1 on new std.uni
Jonathan M Davis
jmdavisProg at gmx.com
Tue Jan 22 13:21:21 PST 2013
On Wednesday, January 23, 2013 00:20:19 Dmitry Olshansky wrote:
> It's indeed a bug in the compiler, looks funny:
> http://d.puremagic.com/issues/show_bug.cgi?id=9371
>
> Makes me think that the compiler treats @safe after
> the function prototype differently then the one placed before it.
> The trailing- at safe camp must be jealous.
Prepending @safe is evil. ;)
That's definitely a weird bug though. I'd say that it pretty much has to be a
bug in the parser given that the AST should be identical regardless of which
side of the function signature an attribute is on.
- Jonathan m Davis
More information about the Digitalmars-d
mailing list