D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7233 - [ICE] (symbol.c 1032) Struct tupleof
Summary: [ICE] (symbol.c 1032) Struct tupleof
Status: RESOLVED DUPLICATE of issue 4940
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2012-01-05 09:39 UTC by bearophile_hugs
Modified: 2012-01-06 01:36 UTC (History)
0 users

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-05 09:39:18 UTC
struct Foo { int x, y; }
Foo[] front(Foo[][] a) {
    return a[0];
}
void main() {
    Foo[][] b;
    auto xy = b.front[0].tupleof;
}


DMD 2.058head

dmd -inline test.d

Internal error: backend\symbol.c 1032
Comment 1 Kenji Hara 2012-01-06 01:36:43 UTC

*** This issue has been marked as a duplicate of issue 4940 ***