Summary: std.string.representation works incorrect for
                    shared(const(T)) types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Denis Shelomovskij <> 2012-08-07 
11:16:46 MSD ---
import std.string;
static assert(is(typeof(representation(cast(shared(const(char))[]) "hello")) ==
shared(const(ubyte)))); // Fails

Also `representation` implementation is ugly and documentation tells that it
"Returns the representation type" that is incorrect because it returns a value
as it's a function.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to