Jump to page: 1 2
Thread overview
[Issue 6711] New: "with" doesn't work with "alias this"
Sep 22, 2011
Vladimir Panteleev
Sep 24, 2011
Andrej Mitrovic
Sep 24, 2011
Andrej Mitrovic
Feb 08, 2013
Andrej Mitrovic
Jun 09, 2013
Andrej Mitrovic
Jul 24, 2013
Henning Pohl
Jul 26, 2013
Kenji Hara
Jul 26, 2013
Andrej Mitrovic
Jul 26, 2013
Henning Pohl
Jul 26, 2013
Kenji Hara
September 22, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6711

           Summary: "with" doesn't work with "alias this"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: thecybershadow@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-09-22 00:31:00 PDT ---
struct A { int i; }
struct B { A a; alias a this; }

B b;
static assert(is(typeof({
    with (b)
        i=0;
})));

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


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-09-24 16:58:16 PDT ---
*** Issue 5887 has been marked as a duplicate of this issue. ***

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



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-09-24 16:58:50 PDT ---
(In reply to comment #1)
> *** Issue 5887 has been marked as a duplicate of this issue. ***

Marked older as dup since you have a simpler test-case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 08, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-08 15:35:49 PST ---
*** Issue 7609 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 09, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert@octarineparrot.com


--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-09 12:01:54 PDT ---
*** Issue 9807 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711


Henning Pohl <henning@still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning@still-hidden.de


--- Comment #5 from Henning Pohl <henning@still-hidden.de> 2013-07-24 14:58:08 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2380

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711



--- Comment #6 from github-bugzilla@puremagic.com 2013-07-25 20:02:59 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/771b1ac53e94016e23483f99ce172cb464cf6594 fix issue 6711 - "with" doesn't work with "alias this"

https://github.com/D-Programming-Language/dmd/commit/dfc7624ccb106b775bbd8df3120bc128ad46fd79 Merge pull request #2380 from hpohl/6711

fix issue 6711 - "with" doesn't work with "alias this"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #7 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-07-26 03:05:17 PDT ---
The test-case in Issue 9807 still doesn't work, so I've reopened this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6711



--- Comment #8 from Henning Pohl <henning@still-hidden.de> 2013-07-26 09:04:01 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2386

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
« First   ‹ Prev
1 2