http://d.puremagic.com/issues/show_bug.cgi?id=7270
Summary: Wrong writeln(T.stringof) with const
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2012-01-11 05:24:38 PST ---
import std.stdio;
void main() {
alias const(const(int)[]) T;
writeln(typeid(T));
writeln(T.stringof);
pragma(msg, T.stringof);
}
Output, DMD 2.058head:
const(int[])
const(const(int)[])
const(int[])
Expected output:
const(int[])
const(int[])
const(int[])
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------