D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7288 - ICE(toir.c): with lambda return + auto
Summary: ICE(toir.c): with lambda return + auto
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: ice, pull
Depends on:
Blocks:
 
Reported: 2012-01-13 11:59 UTC by bearophile_hugs
Modified: 2012-03-05 12:11 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2012-01-13 11:59:54 UTC
auto foo() {
    int x;
    return () => { return x; };
}
void main() {}


DMD 2.058head:
Internal error: toir.c 190
Comment 2 github-bugzilla 2012-03-05 11:29:20 UTC
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f12bda6717a8979366f1df07585886ee2e892036
fix Issue 7288 - ICE(toir.c): with lambda return + auto