Fix issue 16970 - Fix deprecations and warnings when compiling Phobos

This commit is contained in:
Eduard Staniloiu 2016-12-15 17:07:55 +02:00
parent 9cbc862544
commit 3d98191ce9
6 changed files with 34 additions and 80 deletions

View file

@ -2143,8 +2143,8 @@ pure nothrow @safe unittest
Convenience mixin for trivially sub-classing exceptions
Even trivially sub-classing an exception involves writing boilerplate code
for the constructor to: 1) correctly pass in the source file and line number
the exception was thrown from; 2) be usable with $(LREF enforce) which
for the constructor to: 1$(RPAREN) correctly pass in the source file and line number
the exception was thrown from; 2$(RPAREN) be usable with $(LREF enforce) which
expects exception constructors to take arguments in a fixed order. This
mixin provides that boilerplate code.