[Issue 780] The assignment of 'this' is allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 22 13:40:23 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=780


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|x86                         |All
            Version|0.178                       |D1 & D2
         OS/Version|Windows                     |All
           Severity|major                       |normal


--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2012-01-22 13:40:09 PST ---
The spec now disallows assignment to this and super, but the compiler still
allows it. Since code like gtkd relies on allowing it, the progression should
be:

1. spec change
2. make it a warning
3. deprecate it
4. remove from compiler

This will take time. We're at (1). So the bug stays open for now.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list