May 31, 2013 [dmd-internals] [D-Programming-Language/dmd] d65d65: Fix broken test case 7159 | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: d65d65eac92f44ab124a0f35f1d991299bcce8ac https://github.com/D-Programming-Language/dmd/commit/d65d65eac92f44ab124a0f35f1d991299bcce8ac Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-29 (Wed, 29 May 2013) Changed paths: M test/runnable/xtest46.d Log Message: ----------- Fix broken test case 7159 The existing test uses a cast from delegate to void*, which is deprecated. This revised test case still fails on 2.059, but uses a valid cast. Commit: cefeb50cefa983de35bc5f133779ec928831a2a9 https://github.com/D-Programming-Language/dmd/commit/cefeb50cefa983de35bc5f133779ec928831a2a9 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-29 (Wed, 29 May 2013) Changed paths: M test/runnable/deprecate1.d Log Message: ----------- Disable test case for horrific cast in deprecated code This test case contains a compile-time cast from one function type to another, which would inevitably cause a segfault at runtime if called. This seems like an unnecessary feature. To support this properly would require specific CTFE support. But historically the compiler has not done much checking of compile-time values, presumably it's an accident that it was ever accepted. Disable this test. Commit: 641fc68c0baba4728244a51a8cb484412d7daf43 https://github.com/D-Programming-Language/dmd/commit/641fc68c0baba4728244a51a8cb484412d7daf43 Author: Walter Bright <walter@walterbright.com> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M test/runnable/deprecate1.d M test/runnable/xtest46.d Log Message: ----------- Merge pull request #2098 from donc/ctfe_evilcasts Remove evil CTFE casts from the test suite Compare: https://github.com/D-Programming-Language/dmd/compare/4aac3b50b451...641fc68c0bab |
Copyright © 1999-2021 by the D Language Foundation