http://d.puremagic.com/issues/show_bug.cgi?id=10600

           Summary: regression(2.063.2) ICE: Assertion failed: (type->ty
                    != Tstruct || ((TypeStruct *)type)->sym == this),
                    function semantic, file struct.c, line 741.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thelastmamm...@gmail.com


--- Comment #0 from thelastmamm...@gmail.com 2013-07-10 15:21:30 PDT ---
import std.typecons;
void fun(){
  import std.conv:to;
  auto a=to!int("");
  auto b=to!(int,double)("");
  auto c=tuple(1);
}

dmd -c main.d
Error: template instance to!(int, double) does not match template declaration
to(T)
Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this),
function semantic, file struct.c, line 741.
zsh: abort      dmd -c

with 2.062: 
Error: template instance to!(int, double) to!(int, double) does not match
template declaration to(T)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to