Bug 19050 – Running the DMD test suite with a compiler compiled in debug mode fails due to invalid characters, -
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-07-03T06:05:01Z
Last change time
2018-07-09T04:55:40Z
Assigned to
No Owner
Creator
Seb
Comments
Comment #0 by greeenify — 2018-07-03T06:05:01Z
Running the DMD test suite with a compiler compiled in debug mode fails due to invalid characters, -, exist in the mangled names of some unittest blocks.
See: https://github.com/dlang/dmd/pull/7531
Comment #1 by github-bugzilla — 2018-07-09T04:55:39Z
Commit pushed to master at https://github.com/dlang/dmdhttps://github.com/dlang/dmd/commit/9d0862343a5ceea2e63be12a29b8a525428f093b
Fix Issue 19050 - Fix invalid characters in mangling
Running the DMD test suite with a compiler compiled in debug mode
fails due to invalid characters, `-`, exist in the mangled names of
some unittest blocks.
This fix centralizes the validation of mangled characters and properly
replaces `-` in the mangled names of unittest blocks with `_`.