D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7331 - ICE(toir.c) on curried delegate literal where the first of 3 arguments is referenced
Summary: ICE(toir.c) on curried delegate literal where the first of 3 arguments is ref...
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: ice
Depends on:
Blocks:
 
Reported: 2012-01-20 13:47 UTC by timon.gehr
Modified: 2012-03-25 03:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description timon.gehr 2012-01-20 13:47:14 UTC
With DMD 2.058

void main(){auto dg=(int a)=>(int b)=>(int c)=>a;}

causes

Internal error: toir.c 190
Comment 1 Kenji Hara 2012-03-25 03:11:59 UTC
It works with 2.059head (d2183ba7aab0d62b91ac230e8a532e9a14699c2f)