← Back to index
|
Original Bugzilla link
Bug 7684 – IFTI and shared overload doesn't work
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-03-11T05:38:00Z
Last change time
2012-03-11T15:19:04Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2012-03-11T05:38:38Z
This code doesn't work. ---- U[] id(U)( U[] ); shared(U[]) id(U)( shared(U[]) ); void main() { shared(int)[] x; static assert(is( typeof(id(x)) == shared(int)[] )); // Error: static assert (is(typeof(__error) == shared(int)[])) is false }
Comment #1
by k.hara.pg — 2012-03-11T05:42:40Z
https://github.com/D-Programming-Language/dmd/pull/798
Comment #2
by bugzilla — 2012-03-11T15:19:04Z
https://github.com/D-Programming-Language/dmd/pull/800