https://issues.dlang.org/show_bug.cgi?id=23637
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #2 from RazvanN <[email protected]> --- This is not a bug. You are compiling with -betterC so code needs to be generated for `myToString`. That code ends up in the object file and may be linked at some point, therefore the compiler tells you that you are compiling with -betterC which means that you cannot use functions from druntime (the array concat hook). If you template the myToString method then the code compiles successfully because the template instances do not make it to the object file. --
