[Issue 22235] New: `core.demangle` does not support `noreturn`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 24 02:51:59 UTC 2021


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

          Issue ID: 22235
           Summary: `core.demangle` does not support `noreturn`
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: pro.mathias.lang at gmail.com

```
% dmd --version
DMD64 D Compiler v2.097.2

Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
written by Walter Bright
% echo "import std.exception; void main () { enforce(false); } " | dmd -run -
object.Exception at __stdin.d(1): Enforcement failed
----------------
??:? _D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn [0x10c5acd32]
??:? pure @safe bool std.exception.enforce!().enforce!(bool).enforce(bool, lazy
const(char)[], immutable(char)[], ulong) [0x10c5acca8]
??:? _Dmain [0x10c5acc1b]
```

Notice the first frame is not demangled.

--


More information about the Digitalmars-d-bugs mailing list