mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
This commit is contained in:
parent
9cbc862544
commit
3d98191ce9
6 changed files with 34 additions and 80 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue