Bug 18531 – core.exception.RangeError@src/core/demangle.d(216): Range violation
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-02-27T09:13:17Z
Last change time
2018-03-02T23:19:30Z
Assigned to
No Owner
Creator
Timothee Cour
Comments
Comment #0 by timothee.cour2 — 2018-02-27T09:13:17Z
different from https://issues.dlang.org/show_bug.cgi?id=18208
```
void main(){
auto s=`_D3std3uni__T6toCaseS_DQvQt12toLowerIndexFNaNbNiNewZtVii1043S_DQCjQCi10toLowerTabFNaNbNiNemZwSQDo5ascii7toLowerTAyaZQDzFNaNeQmZ14__foreachbody2MFNaNeKmKwZ14__foreachbody3MFNaNeKwZi`;
import core.demangle;
auto dst=new char[200];
import std.stdio;
writeln(demangle(s, dst));
}
```
Comment #1 by timothee.cour2 — 2018-02-27T09:19:35Z