On 2015-09-30 05:45, deadalnix wrote:
On Tuesday, 29 September 2015 at 21:02:42 UTC, Nordlöw wrote:
As a follow-up to
https://github.com/D-Programming-Language/phobos/pull/3207#issuecomment-144073495
I do think wiring this in the compiler is probably not the right way
forward. Most language have some library functions like :
expect(exprssion).toBeTrue();
expect(function/delegate).toThrow!ExceptionType
And so on.
This allow to get nice error and do not need wiring int he language.
This is extensible and all. I'd rather have something like this.
That's already what the above linked pull request does.
--
/Jacob Carlborg