October 30, 2015 [dmd-internals] [D-Programming-Language/dmd] 712893: Deprecate opEquals/opCmp mismatch with TypeInfo | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/dmd-1.x Home: https://github.com/D-Programming-Language/dmd Commit: 71289344da71c8a2302493fd6453509e776e896e https://github.com/D-Programming-Language/dmd/commit/71289344da71c8a2302493fd6453509e776e896e Author: Mihails Strasuns <mihails.strasuns.contractor@sociomantic.com> Date: 2015-10-28 (Wed, 28 Oct 2015) Changed paths: M src/typinf.c Log Message: ----------- Deprecate opEquals/opCmp mismatch with TypeInfo It can result in provides `opEquals/opCmp` being ignored by runtime utilities that call them via TypeInfo_Struct (for example, array.sort) Commit: 0923d5715275dc1f7fec45529468e85c38b20243 https://github.com/D-Programming-Language/dmd/commit/0923d5715275dc1f7fec45529468e85c38b20243 Author: Mihails Strasuns <mihails.strasuns.contractor@sociomantic.com> Date: 2015-10-28 (Wed, 28 Oct 2015) Changed paths: M src/struct.c Log Message: ----------- Deprecate opCmp without opEquals D does not define automatic rewrite of latter in terms of the former, resorting to auto-generated `opEquals` instead Commit: e795d0ddbb85d40bdc4d36a306cff2040d648d48 https://github.com/D-Programming-Language/dmd/commit/e795d0ddbb85d40bdc4d36a306cff2040d648d48 Author: Walter Bright <walter@walterbright.com> Date: 2015-10-30 (Fri, 30 Oct 2015) Changed paths: M src/struct.c M src/typinf.c Log Message: ----------- Merge pull request #5238 from mihails-strasuns-sociomantic/error-op-equals [D1] Deprecate error-prone definitions of opCmp / opEquals Compare: https://github.com/D-Programming-Language/dmd/compare/6ae11b6a85d5...e795d0ddbb85 |
Copyright © 1999-2021 by the D Language Foundation