Bug 14069 – Partial type deduction should prefer the specified type qualifier

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-28T14:06:00Z
Last change time
2015-02-03T12:31:47Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2015-01-28T14:06:16Z
Following code prints immutable(char[5]), but it should be const(char[5]). const[$] sx = "hello"; pragma(msg, typeof(sx));
Comment #1 by k.hara.pg — 2015-01-28T14:23:03Z
Comment #2 by k.hara.pg — 2015-02-03T12:31:47Z
The feature was reverted from master branch. So I close this issue.