[Issue 14035] string concatenation accepts ints in templates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Mar 21 21:57:55 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14035

--- Comment #5 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
i.e. having such template that somehow deduces type for it's argument, despite
the explicitly written type, and doing that differently depending of the line
where template was instantiated is... very strange. it's the source of
hard-to-catch bugs, which type system should *help* to catch. instead it simply
doing something i never asked it to do and carefully hides the bug from me. it
reminds me INTERCAL language.

--


More information about the Digitalmars-d-bugs mailing list