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

2015-01-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10989

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/73e48f02b6eca202f7bacc0023555d5608f7019c
fix Issue 10989 - [CTFE] Uncaught exception messages are not pretty printed if
message wasn't literal

Fix the remained case.

https://github.com/D-Programming-Language/dmd/commit/94db1fa80e004a456a68b014a9f0498c216a77ed
Merge pull request #4252 from 9rnsr/fix10989

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

--


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

2015-01-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10989

e10s electrolysis.j...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||electrolysis.j...@gmail.com
 Resolution|FIXED   |---

--- Comment #4 from e10s electrolysis.j...@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)()

--