January 24, 2013 [dmd-internals] [D-Programming-Language/dmd] 78f965: Refactoring around function semantic invocation. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 78f96592923459f6d27e2d8d6a5d2d23ae0d3abf https://github.com/D-Programming-Language/dmd/commit/78f96592923459f6d27e2d8d6a5d2d23ae0d3abf Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-23 (Wed, 23 Jan 2013) Changed paths: M src/declaration.h M src/expression.c M src/func.c M src/interpret.c M src/mtype.c M src/template.c M src/toobj.c M test/fail_compilation/ice5996.d Log Message: ----------- Refactoring around function semantic invocation. Commit: 960987479e5c591c19e2a49c729c98a7f1218bd5 https://github.com/D-Programming-Language/dmd/commit/960987479e5c591c19e2a49c729c98a7f1218bd5 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-23 (Wed, 23 Jan 2013) Changed paths: M src/expression.c M test/compilable/testInference.d M test/runnable/xtest46.d Log Message: ----------- fix Issue 5933 - Cannot retrieve the return type of an auto-return member function Commit: 3d5528e985270fe34a7298581df63958c88e506c https://github.com/D-Programming-Language/dmd/commit/3d5528e985270fe34a7298581df63958c88e506c Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-23 (Wed, 23 Jan 2013) Changed paths: M test/runnable/xtest46.d Log Message: ----------- fix Issue 7159 - Forward reference when casting auto return method Commit: 6a0be5b98961a773c7380ac45f14f1a8a76349b9 https://github.com/D-Programming-Language/dmd/commit/6a0be5b98961a773c7380ac45f14f1a8a76349b9 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-24 (Thu, 24 Jan 2013) Changed paths: M src/expression.c M test/Makefile A test/runnable/extra-files/mul9377a.d A test/runnable/extra-files/mul9377b.d A test/runnable/extra-files/multi9377.d A test/runnable/test9377.sh Log Message: ----------- fix Issue 9377 - Link-failure regression cause by fixing issue 8504 The test is disabled only in win64 platform. Commit: e9142862884625d0db801bbf1f05ad9487aae28b https://github.com/D-Programming-Language/dmd/commit/e9142862884625d0db801bbf1f05ad9487aae28b Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-24 (Thu, 24 Jan 2013) Changed paths: M test/compilable/compile1.d Log Message: ----------- fix test result for issue 6661 Inherently, when you try to instantiate a template, the whole template body correctness should be checked at the same time. In this case, bug6661!(int).qutz is a normal function declared inside template, so it should be instantiated at the same time with bug6661!(int). Now, the inner `static assert(qutz(13).sizeof!=299);` runs the semantic3 of qutz by calling it. So the module level static assertion fails _correctly_. But, `is(typeof(bug6661x!(int)))` still returns true incorrectly. I think it is yet another known issue in current dmd implementation. Commit: de4f8f6bf8dc9fcc1730ea4d7f2bbd3e74880f08 https://github.com/D-Programming-Language/dmd/commit/de4f8f6bf8dc9fcc1730ea4d7f2bbd3e74880f08 Author: Walter Bright <walter@walterbright.com> Date: 2013-01-24 (Thu, 24 Jan 2013) Changed paths: M src/declaration.h M src/expression.c M src/func.c M src/interpret.c M src/mtype.c M src/template.c M src/toobj.c M test/Makefile M test/compilable/compile1.d M test/compilable/testInference.d M test/fail_compilation/ice5996.d A test/runnable/extra-files/mul9377a.d A test/runnable/extra-files/mul9377b.d A test/runnable/extra-files/multi9377.d A test/runnable/test9377.sh M test/runnable/xtest46.d Log Message: ----------- Merge pull request #1543 from 9rnsr/fix5933 Issue 5933 & 7159 & 9377 - Invoke function semantic3 correctly where it is required. Compare: https://github.com/D-Programming-Language/dmd/compare/ae95b0f935e0...de4f8f6bf8dc |
Copyright © 1999-2021 by the D Language Foundation