mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
Fix issue 22939 - bad error message: Error: no property msg
for type string
This commit is contained in:
parent
811deefa85
commit
ba92563a0d
5 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue