[dmd-beta] dmd 2.063 beta 5

Kenji Hara k.hara.pg at gmail.com
Thu May 23 06:53:45 PDT 2013


That behavior has been introduced by fixing issue 9199. But the way was not
good, because it unnecessarily breaks existing code.
I opened a new enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=10150 to fix the regressions
and more consistent compiler behavior. How about that?

Kenji Hara


2013/5/23 Jacob Carlborg <doob at me.com>

> On May 23, 2013, at 09:43 AM, Walter Bright <walter at digitalmars.com>
> wrote:
>
> Yes, but I don't know which one. The issue is attempting to declare:
>
> shared int foo() { ... }
>
> where shared would apply to the 'this' reference, but there is no 'this'
> reference. This was an "accepts invalid code" bug in the compiler.
>
>
> I absolutely agree. The change is correct. But there's no deprecation
> messages or warnings, I don't know if it would be possible though to add.
>
> --
> /Jacob Carlborg
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20130523/879bffdc/attachment.html>


More information about the dmd-beta mailing list