← Back to index
|
Original Bugzilla link
Bug 13318 – Error: cannot have e.tuple
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-08-17T23:47:13Z
Last change time
2018-10-10T22:12:15Z
Assigned to
No Owner
Creator
Ellery Newcomer
Comments
Comment #0
by ellery-newcomer — 2014-08-17T23:47:13Z
the code: struct Base2 { int i; } mixin template NoPadding(T) { alias Ts = typeof(T.tupleof); Ts fields; } struct Derived { mixin NoPadding!Base2 _base2; } void main() { Derived* d; int* i = &d._base2.fields[0]; } the compile: dmd test2.d (2.065, 2.066rc2) the wat: test2.d(16): Error: cannot have e.tuple
Comment #1
by n8sh.secondary — 2018-10-10T22:12:15Z
Working as of DMD v2.082.0.