[Issue 18557] New: Types with 0 size should not be usable as aa key types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 5 09:42:57 UTC 2018


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

          Issue ID: 18557
           Summary: Types with 0 size should not be usable as aa key types
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

Summary says it all.

  struct S { }
  int[S] aa;   // should fail to compile

--


More information about the Digitalmars-d-bugs mailing list