On May 23, 2013, at 09:43 AM, Walter Bright <[email protected]> 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
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to