"Etienne"  wrote in message news:[email protected]...

I've found 2 internal compiler errors so far, but they have been occurring in very complex circumstances that I haven't been able to isolate within reasonable time frames (~ 1 hour).

https://github.com/etcimon/dmd/commit/32f2b44c8c126243f9c4ff00b89b175c9e596e7f

https://github.com/D-Programming-Language/dmd/commit/ca333f4b320223cc7d3779471cd27bb43af2f84a

In each case, simply showing the error with ::error allowed me to debug the source code and the ICE was not justified at all.

Is there a way to fast track the specific category (error handling) of ICE in DMD to avoid forcing me to waste more time isolating the bug?

It really helps to have a minimal test case for the bug, otherwise it's difficult for reviewers to tell if the fix is in the correct place. It should be fairly easy to reduce a larger project that fails on an assertion down to a small test case using dustmite (or even dub dustmite). Once you have the test case, straightforward patches that fix ices are usually merged fairly quickly.

Reply via email to