[Issue 12150] Regression (2.063): char[] implicitly converts to string in .dup expression
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 13 07:35:22 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12150
Jakob Ovrum <jakobovrum at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakobovrum at gmail.com
--- Comment #5 from Jakob Ovrum <jakobovrum at gmail.com> 2014-02-13 07:35:19 PST ---
(In reply to comment #3)
> But the regression is likely unintended. Did anyone actually request for the
> feature in Issue 9656? Magical built-in behavior is something we should avoid
> IMHO, exactly because of issues like this..
I might be missing something, but where is the regression? The example you
posted doesn't seem to be a regression because char[] isn't implicitly
convertible to either `string` or `ubyte[]`, so surely the code would simply
not compile.
--
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