[Issue 15713] New: ctfe string concatenation is templates is broken

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 21 19:21:39 PST 2016


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 at puremagic.com
          Reporter: ketmar at 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

--


More information about the Digitalmars-d-bugs mailing list