www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22113] New: Allow `noreturn` as a type for main function

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

          Issue ID: 22113
           Summary: Allow `noreturn` as a type for main function
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: qs.il.paperinik gmail.com

Using `noreturn main(..)` makes sense for some programs, but isn't currently
allowed.

--
Jul 08