www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21444] New: bad string concat in static assert message


          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 puremagic.com
          Reporter: b2.temp gmx.com


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

Dec 02 2020