[Issue 5980] foreach element of a type tuple of string literals is not implicitly convertible to immutable(char)*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 11 12:37:31 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5980



--- Comment #6 from kennytm at gmail.com 2011-05-11 12:33:31 PDT ---
(In reply to comment #4)
> The conversion of a string literal to a immutable(char)* has been disallowed,
> and for arguably good reasons. You may want to use a.ptr instead.

Really? Jesse's example in comment #3 is still compilable.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list