Convert to new alias syntax

This commit is contained in:
k-hara 2014-02-10 22:46:51 +09:00
parent 66b3b88418
commit b391b2ec9f
48 changed files with 1137 additions and 1248 deletions

View file

@ -452,7 +452,7 @@ unittest
errnoEnforce(s);
alias Exception E1;
alias E1 = Exception;
static class E2 : Exception
{
this(string fn, size_t ln) { super("", fn, ln); }
@ -565,7 +565,7 @@ unittest
unittest
{
alias enforceEx!Exception enf;
alias enf = enforceEx!Exception;
assertNotThrown(enf(true));
assertThrown(enf(false, "blah"));
}