← Back to index
|
Original Bugzilla link
Bug 14923 – [REG2.067] ICE: Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736.
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-15T05:15:00Z
Last change time
2015-08-29T08:02:22Z
Keywords
ice, pull
Assigned to
nobody
Creator
timothee.cour2
Comments
Comment #0
by timothee.cour2 — 2015-08-15T05:15:43Z
regression: dmd_068 -c -o- main.d Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736. worked in dmd_066 (no ICE) ---- auto bar(alias fun)(){ size_t counter; scope(exit) counter++; Object a2; if(auto ai=cast(A)a2) return fun(ai); if(auto ai=cast(B)a2) return fun(ai); } void Parse(C a) { bar!(b=>Parse(b))(); } class A{ } class C{ } class B:C{ } ----
Comment #1
by k.hara.pg — 2015-08-19T06:02:33Z
https://github.com/D-Programming-Language/dmd/pull/4908
Comment #2
by github-bugzilla — 2015-08-24T11:23:00Z
Commits pushed to stable at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/bdd7d5bf7b5dd148ab0dd0087b2754b0b6867ce7
fix Issue 14923 - ICE: Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736.
https://github.com/D-Programming-Language/dmd/commit/d780e3114333c17056e78f982012f37ca141e958
Merge pull request #4949 from 9rnsr/fix14923 [REG2.067] Issue 14923 - ICE: Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736.
Comment #3
by github-bugzilla — 2015-08-29T08:02:22Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/bdd7d5bf7b5dd148ab0dd0087b2754b0b6867ce7
fix Issue 14923 - ICE: Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736.
https://github.com/D-Programming-Language/dmd/commit/d780e3114333c17056e78f982012f37ca141e958
Merge pull request #4949 from 9rnsr/fix14923