www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1389] New: Can't use mixin expressions when start of a statement.

reply d-bugmail puremagic.com writes:
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


-- 
Jul 31 2007
next sibling parent d-bugmail puremagic.com writes:
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



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: -------
Apr 16 2011
prev sibling parent d-bugmail puremagic.com writes:
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



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: -------
Apr 16 2011