Bug 2446 – parser rejects indexed tuple as type in Type.StaticMember syntax

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-11-10T00:22:00Z
Last change time
2014-03-01T00:36:55Z
Keywords
rejects-valid
Assigned to
nobody
Creator
shro8822

Comments

Comment #0 by shro8822 — 2008-11-10T00:22:53Z
template tpl(T...){alias T tpl;} struct B { alias int C; } alias tpl!(B) A; A[0].C a; // ERROR HERE
Comment #1 by manuelk89 — 2010-10-11T12:42:21Z
*** This issue has been marked as a duplicate of issue 3085 ***