Thread overview
[Issue 7408] New: traits compiles fails for built-in properties of template instances
Jan 31, 2012
dawg@dawgfoto.de
Jan 10, 2013
Andrej Mitrovic
Jan 18, 2013
Kenji Hara
January 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7408

           Summary: traits compiles fails for built-in properties of
                    template instances
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-01-30 22:37:44 PST ---
template foobar()
{
}

void main()
{
    pragma(msg, foobar!().stringof);                       // OK
    static assert(__traits(compiles, foobar!().stringof)); // FAILS
}

----

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |andrej.mitrovich@gmail.com
         AssignedTo|nobody@puremagic.com        |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-09 16:35:41 PST ---
https://github.com/D-Programming-Language/dmd/pull/1456

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



--- Comment #2 from github-bugzilla@puremagic.com 2013-01-18 09:27:28 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/968cb4faf0ffd9b5b379a8c27f4f4da42e6bc1a5
Fixes Issue 7408 - __traits(compiles) should work on builtin template instance
properties.

https://github.com/D-Programming-Language/dmd/commit/dd09561b678d8dcb52fbef792c0f5c131e19ffda Merge pull request #1456 from AndrejMitrovic/Fix7408

Issue 7408 - __traits(compiles) should work on builtin template instance
properties

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


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: -------