[Issue 10989] [CTFE] Uncaught exception messages are not pretty printed if message wasn't literal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 5 02:41:28 PST 2015


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

e10s <electrolysis.jp+d at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |electrolysis.jp+d at gmail.com
         Resolution|FIXED                       |---

--- Comment #4 from e10s <electrolysis.jp+d at gmail.com> ---
This bug is still alive, at least around the first test case, though Don's
reduced one shows a nicer message.

Result:

ctfe_ex.d(4): Error: uncaught CTFE exception object.Exception(['S', 'o', 'm',
'e', 't', 'h', 'i', 'n', 'g', ' ', '4', '2', ' ', 'w', 'i', 'c', 'k', 'e', 'd',
' ', 'h', 'a', 'p', 'p', 'e', 'n', 'e', 'd', '!'][0..29])
ctfe_ex.d(6):        called from here: (*() => 0)()

--


More information about the Digitalmars-d-bugs mailing list