Thread overview
[Issue 11010] New: typeid doesn't work on a member of an instance.
Sep 11, 2013
Zhouxuan
[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.
Sep 17, 2013
Andrej Mitrovic
Sep 25, 2013
Kenji Hara
Sep 26, 2013
Andrej Mitrovic
Sep 26, 2013
Andrej Mitrovic
Sep 26, 2013
Andrej Mitrovic
Sep 27, 2013
Kenji Hara
Nov 02, 2013
Kenji Hara
September 11, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11010

           Summary: typeid doesn't work on a member of an instance.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: pycerl@qq.com


--- Comment #0 from Zhouxuan <pycerl@qq.com> 2013-09-11 03:49:44 PDT ---
import std.stdio;

struct A
{
    A* p;
}

int main()
{
    A a;
    writeln(typeid(a.p)); // Error: need 'this' for 'p' of type 'A*'
    return 0;
}

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com
            Summary|typeid doesn't work on a    |Regression (2.063.2) typeid
                   |member of an instance.      |doesn't work on a member of
                   |                            |an instance.
           Severity|normal                      |regression


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-17 12:59:48 PDT ---
This is a 2.063.2 regression, unfortunately. It works in 2.062.

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-24 22:23:00 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2587

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freeslave93@gmail.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-26 07:12:24 PDT ---
*** Issue 9041 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 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11010


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deadalnix@gmail.com


--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-26 07:14:47 PDT ---
*** Issue 8439 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 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11010


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pjdeets2@gmail.com


--- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-26 07:19:44 PDT ---
*** Issue 3643 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 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11010



--- Comment #6 from github-bugzilla@puremagic.com 2013-09-26 16:53:10 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4d8c25e2aaaa492f6793dcdd7478857ee0a3e3a4 fix Issue 11010 - typeid doesn't work on a member of an instance

To distinguish the typeid context, add `bool intypeid` parameter on
Type::resolve().

https://github.com/D-Programming-Language/dmd/commit/d9460bfc69ae71acef4418e3b1cdb8de8241bd1f Merge pull request #2587 from 9rnsr/fix11010

[REG2.063] Issue 11010 - typeid doesn't work on a member of an instance

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


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: -------
November 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11010


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thelastmammoth@gmail.com


--- Comment #7 from Kenji Hara <k.hara.pg@gmail.com> 2013-11-02 05:53:58 PDT ---
*** Issue 11366 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: -------