← Back to index
|
Original Bugzilla link
Bug 10600 – regression(2.063.2) ICE: Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-07-10T15:21:00Z
Last change time
2013-07-16T18:04:29Z
Keywords
ice, pull
Assigned to
nobody
Creator
thelastmammoth
Comments
Comment #0
by thelastmammoth — 2013-07-10T15:21:30Z
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)
Comment #1
by k.hara.pg — 2013-07-12T10:51:30Z
https://github.com/D-Programming-Language/dmd/pull/2338
Comment #2
by github-bugzilla — 2013-07-16T18:04:22Z
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
Merge pull request #2338 from 9rnsr/fix10600 [REG2.063] Issue 10600 - ICE: Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this), function semantic, file struct.c, line 741.