Thread overview
[Issue 1389] New: Can't use mixin expressions when start of a statement.
Jul 31, 2007
d-bugmail
Apr 17, 2011
Kenji Hara
Apr 17, 2011
Walter Bright
July 31, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1389

           Summary: Can't use mixin expressions when start of a statement.
           Product: D
           Version: 1.019
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: aziz.kerim@gmail.com


int a;
mixin("a") = 666; // Error: found '=' when expecting ';'
(mixin("a") = 999); // workaround


-- 

April 17, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1389


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |k.hara.pg@gmail.com


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-04-16 19:29:03 PDT ---
Patch posted.

https://github.com/D-Programming-Language/dmd/pull/31

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 17, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1389


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-04-16 23:55:57 PDT ---
https://github.com/D-Programming-Language/dmd/commit/b520d11d37208be51bb999a15dfa735b5f032fed

https://github.com/D-Programming-Language/dmd/commit/852c73f618d004fa8f3a5461b6c501310fc54bda

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