← Back to index
|
Original Bugzilla link
Bug 6847 – typeof(super) doesn't work outside member function
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-10-24T21:52:00Z
Last change time
2012-04-20T19:07:55Z
Keywords
rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2011-10-24T21:52:24Z
This issue is similar to bug 6087. template True(T) { immutable True = true; } class Foo {} class Bar : Foo { static assert( True!(typeof(super)) ); }
Comment #1
by k.hara.pg — 2012-04-20T19:07:55Z
May fixed in 2.057.
https://github.com/D-Programming-Language/dmd/pull/475
https://github.com/D-Programming-Language/dmd/commit/85549f10e7904dac18da80b94a0cea2084936542