[Issue 9279] Static array return value implicitly converted to immutable dynamic array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 23 14:35:12 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=9279


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2013-12-24 00:35:09 EET ---
And now it doesn't even need to be a template function. This compiles:

char[12] getArr() { return "Hello World!"; }
string getString() { return getArr(); }

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


More information about the Digitalmars-d-bugs mailing list