[Issue 3827] Warn against and then deprecate implicit concatenation of adjacent string literals

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 30 06:18:40 PDT 2014


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

--- Comment #37 from bearophile_hugs at eml.cc ---
(In reply to yebblies from comment #36)

> Try it, look at the asm.  No memory allocation.

The asm is not enough. @nogc is a purely front-end thing, to avoid different
optimizations in different compilers to lead to @nogc-annotated code to compile
or not compile in different compilers. So this problem is not a bug, it's an
enhancement request, to add this optimization in the front-end.

--


More information about the Digitalmars-d-bugs mailing list