www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15713] New: ctfe string concatenation is templates is broken

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

          Issue ID: 15713
           Summary: ctfe string concatenation is templates is broken
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ketmar ketmar.no-ip.org

Created attachment 1584
  --> https://issues.dlang.org/attachment.cgi?id=1584&action=edit
dustmited source

the attached code outputs random trash as error, but it outputs normal error in
2.070.

the trash looks like: console1.d(8): Error: no property
'widthSignC▀╣ьY▀╣' for
type 'Data'
while with 2.070 it looks like: console1.d(8): Error: no property 'widthSign'
for type 'Data'


the offending commit (found with digger):
https://github.com/D-Programming-Language/dmd/commit/7487e74378725791cc3d684581f8c4739a5932ae

--
Feb 21 2016