Bug 8090 – ICE: Assertion failure: 'typen->deco' on line 1703 in file 'cast.c'
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-12T07:58:00Z
Last change time
2012-05-24T10:43:07Z
Keywords
ice
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0 by andrej.mitrovich — 2012-05-12T07:58:21Z
struct Foo { }
alias bool delegate(Foo w) DG;
DG test;
void main()
{
// bool[Foo] a;
test = (Foo w) { return w in a; };
}
ice.d(11): Error: undefined identifier a, did you mean variable w?
Assertion failure: 'typen->deco' on line 1703 in file 'cast.c'
Comment #1 by k.hara.pg — 2012-05-24T09:02:47Z
What version do you use?
I think this is a dup of bug 8009 (It was a bug in 2.059, and is already fixed), because this ICE doesn't occur in git head.
Comment #2 by andrej.mitrovich — 2012-05-24T10:20:37Z
(In reply to comment #1)
> What version do you use?
2.059
> I think this is a dup of bug 8009 (It was a bug in 2.059, and is already
> fixed), because this ICE doesn't occur in git head.
Ok.
Comment #3 by k.hara.pg — 2012-05-24T10:43:07Z
(In reply to comment #2)
> (In reply to comment #1)
> > What version do you use?
>
> 2.059
Thanks for your answer.
Then this is true dup of bug 8009.
*** This issue has been marked as a duplicate of issue 8009 ***