Bug 7093 – aliased type sometimes isn't resolved

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-12-10T23:59:00Z
Last change time
2011-12-11T14:02:07Z
Keywords
patch, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2011-12-10T23:59:21Z
In following code, aliased type T is not resolved. ---- void main() { alias int T; static assert( is( T** : const(T**) )); // Line 4: causes an error static assert( is( T* : const(T*) )); // OK } output: ---- test.d(4): Error: static assert (is(int*** : const(T***))) is false
Comment #1 by k.hara.pg — 2011-12-11T03:15:12Z
Comment #2 by bugzilla — 2011-12-11T14:02:07Z