D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5029 - (assoc array type).stringof doesn't return built-in typename
Summary: (assoc array type).stringof doesn't return built-in typename
Status: RESOLVED DUPLICATE of issue 6433
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2010-10-09 17:25 UTC by Nick Sabalausky
Modified: 2015-06-09 05:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nick Sabalausky 2010-10-09 17:25:27 UTC
-----------------
//test.d
pragma(msg, (string[string]).stringof);
-----------------

> dmd -c test.d

Expected: string[string]
Actual: AssociativeArray!(string,string)

This might be related to issue 4723: http://d.puremagic.com/issues/show_bug.cgi?id=4723
Comment 1 Nick Sabalausky 2010-10-09 17:29:01 UTC
This is particularly problematic for metaprogramming due to issue 5030.
Comment 2 Martin Nowak 2011-08-04 02:19:29 UTC

*** This issue has been marked as a duplicate of issue 6433 ***