www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10600] New: regression(2.063.2) ICE: Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: thelastmammoth gmail.com



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: -------
Jul 10 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10600


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull



https://github.com/D-Programming-Language/dmd/pull/2338

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10600




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/fd21fa566e85276d9fe5926c7a1b2d0fcaee9cd9
[REG2.063] fix Issue 10600 - ICE: Assertion failed: (type->ty != Tstruct ||
((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.

https://github.com/D-Programming-Language/dmd/commit/c08e3a92e371858bed207c40b8bb42aaedf54827


[REG2.063] Issue 10600 - ICE: Assertion failed: (type->ty != Tstruct ||
((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 16 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10600


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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