D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6608 - Tuple field is not escaped
Summary: Tuple field is not escaped
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-09-05 22:46 UTC by Kenji Hara
Modified: 2011-09-06 01:45 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 Kenji Hara 2011-09-05 22:46:12 UTC
From http://d.puremagic.com/issues/show_bug.cgi?id=3813#c17

Phobos in git master (e85103f13e),

> This code:
> 
> import std.stdio, std.typecons;
> void main () {
>     writeln(tuple(1, "xx"));
> }
> 
> 
> Prints:
> Tuple!(int,string)(1, xx)

Expected:

Tuple!(int,string)(1, "xx")
Comment 2 bearophile_hugs 2011-09-06 01:45:10 UTC
Merged, and it works. Thanks for your work.