www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20545] New: Segfault/Assertion failure when parsing invalid

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

          Issue ID: 20545
           Summary: Segfault/Assertion failure when parsing invalid AA
                    literal
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: moonlightsentinel disroot.org

Using DMD v2.090.0-dirty on the following snippet

--------------

static initial = [{ }: ];

-------------

yields:

(Linux) Segfault
(Windows) core.exception.AssertError dmd\parse.d(6614): Assertion failure

--
Jan 29