Bug 7233 – [ICE] (symbol.c 1032) Struct tupleof

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-01-05T09:39:00Z
Last change time
2012-01-06T01:36:43Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-01-05T09:39:18Z
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 by k.hara.pg — 2012-01-06T01:36:43Z
*** This issue has been marked as a duplicate of issue 4940 ***