[Issue 4483] foreach over string or wstring, where element type not specified, does not support unicode
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 21 20:13:19 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4483
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #6 from yebblies <yebblies at gmail.com> 2014-01-22 15:13:11 EST ---
I suggest the following steps:
1. Warn when foreach arg type is inferred to be a narrow string
2. Deprecate ...
3. Error ...
4. New behavior, maybe
This both prevents accidental narrow-char iteration, and lets us put off
deciding on the new behavior for at least a year. Win!
--
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