On Tuesday, 31 March 2015 at 08:10:19 UTC, Andy Smith wrote:

A band-aid rather than a solution, but sticking this in .emacs/init.el will fix up emacs to do the right thing with asserts (only tested with DMD).

Cheers,

A.

(add-to-list 'compilation-error-regexp-alist
                '("^object\.Exception@\\(.*\\)(\\([0-9]+\\)).*"
                  1 2 ) )

Ah - didn't test for your specific example...

Need..

(add-to-list 'compilation-error-regexp-alist
                '("^core\.exception.AssertError@\\(.*\\)(\\([0-9]+\\)).*"
                  1 2 ) )

as well.... not sure how many variants of these there are but if regexps can't handle it am sure elisp can....

Cheers,

A.

Reply via email to