[Issue 14069] New: Partial type deduction should prefer the specified type qualifier
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 28 06:06:16 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14069
Issue ID: 14069
Summary: Partial type deduction should prefer the specified
type qualifier
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Following code prints immutable(char[5]), but it should be const(char[5]).
const[$] sx = "hello";
pragma(msg, typeof(sx));
--
More information about the Digitalmars-d-bugs
mailing list