Fix issue 22939 - bad error message: Error: no property msg for type string

This commit is contained in:
Dennis Korpel 2022-03-29 14:52:44 +02:00 committed by The Dlang Bot
parent 811deefa85
commit ba92563a0d
5 changed files with 11 additions and 11 deletions

View file

@ -331,7 +331,7 @@ class OutBuffer
import std.format : checkFormatException;
alias e = checkFormatException!(fmt, A);
static assert(!e, e.msg);
static assert(!e, e);
return this.writef(fmt, args);
}
@ -377,7 +377,7 @@ class OutBuffer
import std.format : checkFormatException;
alias e = checkFormatException!(fmt, A);
static assert(!e, e.msg);
static assert(!e, e);
return this.writefln(fmt, args);
}