Bug 6855 – shared(immutable(T)) should be immutable(T)
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-10-26T06:07:00Z
Last change time
2011-12-11T19:34:34Z
Assigned to
nobody
Creator
timon.gehr
Comments
Comment #0 by timon.gehr — 2011-10-26T06:07:26Z
Tested with DMD 2.055
static assert(is(shared(immutable(int)) == immutable(int))); // fail 1
static assert(is(const(shared(immutable(int))) == const(int))); // fail 2
I'd expect both static assertions to pass.
(1. Currently immutable(shared(int)) == immutable(int).
2. will work if 1. is fixed.)
Comment #1 by k.hara.pg — 2011-12-11T19:34:34Z
*** This issue has been marked as a duplicate of issue 6922 ***