www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19493] New: compiler crash when trying to format invalid

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

          Issue ID: 19493
           Summary: compiler crash when trying to format invalid contracts
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

When DMD tries to format errors for

    type of function function in

or

   type of function function out

it crashes due to unsafe access to null AST nodes.

--
Dec 15 2018