www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15362] New: Allow trailing coma in assert

https://issues.dlang.org/show_bug.cgi?id=15362

          Issue ID: 15362
           Summary: Allow trailing coma in assert
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: deadalnix gmail.com

assert(
  condition,
  message,
);

Please, it is accepted on function call, declaration, array literals, etc... I
run in the inconsistency all the time...

--
Nov 18 2015