July 21, 2013 [dmd-internals] [D-Programming-Language/dmd] acd073: fix Issue 10567 - Typeinfo.compare has unreasonabl... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: acd073afcb89d639c8c99cd7f8233788db6036d6 https://github.com/D-Programming-Language/dmd/commit/acd073afcb89d639c8c99cd7f8233788db6036d6 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-07-16 (Tue, 16 Jul 2013) Changed paths: M src/aggregate.h M src/clone.c M src/struct.c M src/typinf.c M test/runnable/opover2.d Log Message: ----------- fix Issue 10567 - Typeinfo.compare has unreasonable signature requirements on opCmp If needed, generate `__xopEquals` method in order to adapt `opCmp` member function (even if it's template) to the function pointer `TypeInfo_Struct.xopCmp`. Commit: 0fe73437e31b91f3c4f9a45bcb450f6d1e7e0a47 https://github.com/D-Programming-Language/dmd/commit/0fe73437e31b91f3c4f9a45bcb450f6d1e7e0a47 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-07-16 (Tue, 16 Jul 2013) Changed paths: M src/clone.c Log Message: ----------- optimize for opEquals Commit: 19988b6d9d854f68e3984f871f0e8977a7be1f09 https://github.com/D-Programming-Language/dmd/commit/19988b6d9d854f68e3984f871f0e8977a7be1f09 Author: Walter Bright <walter@walterbright.com> Date: 2013-07-21 (Sun, 21 Jul 2013) Changed paths: M src/aggregate.h M src/clone.c M src/struct.c M src/typinf.c M test/runnable/opover2.d Log Message: ----------- Merge pull request #2321 from 9rnsr/fix10567 Partial fix for Issue 10567 - Typeinfo.compare has unreasonable signature requirements on opCmp Compare: https://github.com/D-Programming-Language/dmd/compare/2ead3f00168c...19988b6d9d85 |
Copyright © 1999-2021 by the D Language Foundation