[dmd-beta] dmd 2.063 beta 5

Михаил Страшун m.strashun at gmail.com
Thu May 23 01:43:43 PDT 2013


Ye, because D users can for sure check what is valid and what it is
not - all they need is just look up the spec... Oh, wait.
I'll better continue in fresh shiny stability thread :)

On Thu, May 23, 2013 at 11:19 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Thursday, May 23, 2013 08:11:29 Jacob Carlborg wrote:
>> 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.
>
> If it's "Accepts Invalid," I wouldn't think that a deprecation message or
> warning would be appropriate. It's code that shouldn't even have compiled in
> the first place, not a feature that's been removed.
>
> - Jonathan M Davis
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


More information about the dmd-beta mailing list