Bug 15713 – [REG-master] ctfe string concatenation is templates is broken

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-02-22T03:21:00Z
Last change time
2016-02-24T05:29:47Z
Keywords
CTFE, ice, pull
Assigned to
nobody
Creator
ketmar

Attachments

IDFilenameSummaryContent-TypeSize
1584console1.ddustmited sourcetext/plain1552
1585console1.dfull codetext/x-csrc29692

Comments

Comment #0 by ketmar — 2016-02-22T03:21:39Z
Created attachment 1584 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
Comment #1 by ketmar — 2016-02-22T03:26:55Z
Created attachment 1585 full code note that code is very sensitive to changes: removing empty and unused `wrWriteWidthChar()` from the top suddenly fixes it. also, i'm not sure if it can be reproduced on anything except my own system (GNU/Linux, x86, dmd built from scratch) due to this sensitiveness. but that's best i can get from dustmiting it. i attached the full source just in case it is unreproducible.
Comment #2 by k.hara.pg — 2016-02-23T23:54:05Z
Comment #3 by github-bugzilla — 2016-02-24T05:29:46Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4852e48d1c0f5d0a2d7f4ccbebb463a86f264416 fix Issue 15713 - ctfe string concatenation is templates is broken https://github.com/D-Programming-Language/dmd/commit/e44c5bd360b910b66671ce492c7b7de17f05c108 Merge pull request #5474 from 9rnsr/fix15713 [REG-master] Issue 15713 - ctfe string concatenation is templates is broken