Thread overview
[Issue 10813] New: ICE(DMD2.063) template.c:6040: Identifier* TemplateInstance::genIdent(Objects*): Assertion `global.errors' failed
Aug 13, 2013
Kenji Hara
August 12, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10813

           Summary: ICE(DMD2.063) template.c:6040: Identifier*
                    TemplateInstance::genIdent(Objects*): Assertion
                    `global.errors' failed
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: monkeyworks12@hotmail.com


--- Comment #0 from monkeyworks12@hotmail.com 2013-08-12 15:33:47 PDT ---
import std.typecons;

T test(T, Tup: Tuple!(T))(Tup t)
{
    return t[0];
}

void main() {}


http://dpaste.dzfl.pl/ba070d91

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



--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-08-13 00:04:22 PDT ---
(In reply to comment #0)
> import std.typecons;
> 
> T test(T, Tup: Tuple!(T))(Tup t)
> {
>     return t[0];
> }
> 
> void main() {}
> 
> 
> http://dpaste.dzfl.pl/ba070d91

The issue does not occur with git head (b4584d77bd).

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


monkeyworks12@hotmail.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: -------