[Issue 10600] New: regression(2.063.2) ICE: Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 10 15:21:31 PDT 2013
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 at puremagic.com
ReportedBy: thelastmammoth at gmail.com
--- Comment #0 from thelastmammoth at 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: -------
More information about the Digitalmars-d-bugs
mailing list