www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14948] New: [Reg 2.068.0] AA key requirement was broken w/o

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 puremagic.com
          Reporter: code 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.

--
Aug 22 2015