[Issue 14948] New: [Reg 2.068.0] AA key requirement was broken w/o notice and w/ horrible error message

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 22 02:31:53 PDT 2015


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

          Issue ID: 14948
           Summary: [Reg 2.068.0] AA key requirement was broken w/o notice
                    and w/ horrible error message
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: code at dawg.eu

/usr/include/dmd/druntime/import/object.d(1962): Error: AA key type HTTP
supports const equality but doesn't support const hashing
/usr/include/dmd/druntime/import/object.d(1968): Error: AA key type HTTP
supports const equality but doesn't support const hashing

First of all this should have been a warning or deprecation, not directly an
error.
Then it definetely should have been mentioned in the changelog.
And finally the error message doesn't give me a clue which one out of 1000 LOCs
program (https://github.com/braddr/downloads.dlang.org/tree/master/src) caused
the error.

--


More information about the Digitalmars-d-bugs mailing list