[Issue 21444] New: bad string concat in static assert message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 2 13:03:49 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21444
Issue ID: 21444
Summary: bad string concat in static assert message
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: trivial
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: b2.temp at gmx.com
See
https://github.com/dlang/phobos/blob/2c0660141748a13637ff473cbb7b0d52eb1c44db/std/traits.d#L1416
```
static assert(0, func[0].stringof ~ "is not a function");
```
The should be a space as first char of the "is not a function" literal
--
More information about the Digitalmars-d-bugs
mailing list