[Issue 14035] string concatenation accepts ints in templates
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 21 23:15:26 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14035
Ketmar Dark <ketmar at ketmar.no-ip.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ketmar at ketmar.no-ip.org
--- Comment #13 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
(In reply to yebblies from comment #12)
> enum c = 'a' + 1; // no explicit type, but will be inferred as int
as *integral*, which fits to any integral type. at least that is what ordinary
human expects.
--
More information about the Digitalmars-d-bugs
mailing list