March 15, 2014 [dmd-internals] [D-Programming-Language/dmd] cca9dd: [Refactoring] Add Package::isPackageMod() | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: cca9dd32abaae97c528264349d4279c697bcccd3 https://github.com/D-Programming-Language/dmd/commit/cca9dd32abaae97c528264349d4279c697bcccd3 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/access.c M src/import.c M src/module.c M src/module.h Log Message: ----------- [Refactoring] Add Package::isPackageMod() Commit: 849013a676dfeab63e9b9810c203927337d6a7f8 https://github.com/D-Programming-Language/dmd/commit/849013a676dfeab63e9b9810c203927337d6a7f8 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/module.c M src/module.h Log Message: ----------- [Refactoring] Add Module::isPackageFile Commit: 90b5182a7726e4a5ea9e0847cb8240fe266613f4 https://github.com/D-Programming-Language/dmd/commit/90b5182a7726e4a5ea9e0847cb8240fe266613f4 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/dsymbol.c Log Message: ----------- [Refactoring] Tweak code block Commit: 614158f3e8ca5af8a512120baa24e655bdb57890 https://github.com/D-Programming-Language/dmd/commit/614158f3e8ca5af8a512120baa24e655bdb57890 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: A test/compilable/imports/b12359.d A test/compilable/testimport12359.d Log Message: ----------- Add test case for issue 12359 before deprecation Commit: cad1dfd5fa4b33b542ccf7bdfc8e8b431a68c492 https://github.com/D-Programming-Language/dmd/commit/cad1dfd5fa4b33b542ccf7bdfc8e8b431a68c492 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/class.c M src/dsymbol.c M src/dsymbol.h M src/expression.c M src/import.c M src/import.h M src/module.c M src/module.h M src/mtype.c M src/statement.c M src/template.c M src/traits.c A test/compilable/extra-files/pkg_import3a/mod.d A test/compilable/extra-files/pkg_import3a/package.d A test/compilable/extra-files/pkg_import3b/mod.d A test/compilable/extra-files/pkg_import3b/package.d A test/compilable/imports/imp1a.d A test/compilable/imports/imp1b.d A test/compilable/imports/imp2a.d A test/compilable/imports/imp2b.d A test/compilable/imports/imp2c.d A test/compilable/imports/imp4array.d A test/compilable/imports/imp4range.d A test/compilable/imports/imp4string.d A test/compilable/testimport1.d A test/compilable/testimport2.d A test/compilable/testimport3.d A test/compilable/testimport4.d M test/d_do_test.d M test/fail_compilation/ice12158.d Log Message: ----------- Fix import issues - Add package table in each scope, due to check which package/module name is accessible via imports. - Renamed/Selective imports no longer create aliases for the introduced names. - Merge imports in base class members to derived class Commit: 5b7e797b67d760fad05a84f739217d0de830026e https://github.com/D-Programming-Language/dmd/commit/5b7e797b67d760fad05a84f739217d0de830026e Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/dsymbol.c Log Message: ----------- Add "FIXME" comment for issue 10604 in ScopeDsymbol::search Commit: fc6a66f4b8d16033b548aa33aab475f7a3001414 https://github.com/D-Programming-Language/dmd/commit/fc6a66f4b8d16033b548aa33aab475f7a3001414 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: R test/compilable/ice10598.d R test/compilable/imports/ice10598a.d R test/compilable/imports/ice10598b.d A test/compilable/imports/imp3a.d A test/compilable/imports/imp3b.d M test/compilable/imports/test7491a.d M test/compilable/imports/test7491b.d A test/compilable/imports/test7491c.d M test/compilable/test70.d M test/compilable/test71.d M test/compilable/test7491.d M test/compilable/testDIP37.d M test/compilable/testimport3.d M test/fail_compilation/fail356a.d M test/fail_compilation/fail356b.d M test/fail_compilation/fail356c.d A test/fail_compilation/ice10598.d M test/fail_compilation/ice9865.d A test/fail_compilation/imports/ice10598a.d A test/fail_compilation/imports/ice10598b.d M test/runnable/test24.d M test/runnable/test42.d M test/runnable/variadic.d Log Message: ----------- Fix existing tests to fit improved import mechanism Commit: 9c204d91275664a4c91c42b61bdad0c05849a6c7 https://github.com/D-Programming-Language/dmd/commit/9c204d91275664a4c91c42b61bdad0c05849a6c7 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: A test/fail_compilation/imports/test313a.d A test/fail_compilation/test313.d Log Message: ----------- fix Issue 313 - [module] Fully qualified names bypass private imports Commit: 68fb5d2244d804655d6bece6025aeb54571ed4a3 https://github.com/D-Programming-Language/dmd/commit/68fb5d2244d804655d6bece6025aeb54571ed4a3 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: A test/fail_compilation/imports/test314a.d A test/fail_compilation/imports/test314b.d A test/fail_compilation/imports/test314c.d A test/fail_compilation/test314.d Log Message: ----------- fix Issue 314 - [module] Static, renamed, and selective imports are always public Commit: ab492b2e8db15d500ee87e195752fed8f3f14b2c https://github.com/D-Programming-Language/dmd/commit/ab492b2e8db15d500ee87e195752fed8f3f14b2c Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: A test/compilable/imports/test8667a.d A test/compilable/imports/test8667b.d A test/compilable/test8667.d Log Message: ----------- fix Issue 8667 - selective import breaks normal overload resolution Commit: 77f072663473b567507993c3499348dc61370454 https://github.com/D-Programming-Language/dmd/commit/77f072663473b567507993c3499348dc61370454 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: A test/fail_compilation/fail10128.d A test/fail_compilation/imports/fail10128a.d A test/fail_compilation/imports/fail10128b.d Log Message: ----------- fix Issue 10128 - import statement in base class members should be private by default Commit: 67303fe9a7d5949ba5186b8fdce64a9388acd289 https://github.com/D-Programming-Language/dmd/commit/67303fe9a7d5949ba5186b8fdce64a9388acd289 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/class.c M src/import.c M src/struct.c M src/template.c M test/compilable/fwdref12201.d Log Message: ----------- Fundamental fix for Issue 12201 Commit: 45d55309d594446cb509ae1b8d4ba1fa69205bfa https://github.com/D-Programming-Language/dmd/commit/45d55309d594446cb509ae1b8d4ba1fa69205bfa Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-14 (Fri, 14 Mar 2014) Changed paths: M src/dsymbol.c M src/dsymbol.h M src/expression.c M test/compilable/test70.d M test/compilable/testimport12359.d Log Message: ----------- fix Issue 12359 - implicit overload merging with selective/renamed imports should be removed Show deprecation message for the implicitly merged overload set, by using cross-module overload set mechanism. Commit: 6cf399220142a05aba69be2f1ed489496a625aff https://github.com/D-Programming-Language/dmd/commit/6cf399220142a05aba69be2f1ed489496a625aff Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2014-03-15 (Sat, 15 Mar 2014) Changed paths: M src/access.c M src/class.c M src/dsymbol.c M src/dsymbol.h M src/expression.c M src/import.c M src/import.h M src/module.c M src/module.h M src/mtype.c M src/statement.c M src/struct.c M src/template.c M src/traits.c A test/compilable/extra-files/pkg_import3a/mod.d A test/compilable/extra-files/pkg_import3a/package.d A test/compilable/extra-files/pkg_import3b/mod.d A test/compilable/extra-files/pkg_import3b/package.d M test/compilable/fwdref12201.d R test/compilable/ice10598.d A test/compilable/imports/b12359.d R test/compilable/imports/ice10598a.d R test/compilable/imports/ice10598b.d A test/compilable/imports/imp1a.d A test/compilable/imports/imp1b.d A test/compilable/imports/imp2a.d A test/compilable/imports/imp2b.d A test/compilable/imports/imp2c.d A test/compilable/imports/imp3a.d A test/compilable/imports/imp3b.d A test/compilable/imports/imp4array.d A test/compilable/imports/imp4range.d A test/compilable/imports/imp4string.d M test/compilable/imports/test7491a.d M test/compilable/imports/test7491b.d A test/compilable/imports/test7491c.d A test/compilable/imports/test8667a.d A test/compilable/imports/test8667b.d M test/compilable/test70.d M test/compilable/test71.d M test/compilable/test7491.d A test/compilable/test8667.d M test/compilable/testDIP37.d A test/compilable/testimport1.d A test/compilable/testimport12359.d A test/compilable/testimport2.d A test/compilable/testimport3.d A test/compilable/testimport4.d M test/d_do_test.d A test/fail_compilation/fail10128.d M test/fail_compilation/fail356a.d M test/fail_compilation/fail356b.d M test/fail_compilation/fail356c.d A test/fail_compilation/ice10598.d M test/fail_compilation/ice12158.d M test/fail_compilation/ice9865.d A test/fail_compilation/imports/fail10128a.d A test/fail_compilation/imports/fail10128b.d A test/fail_compilation/imports/ice10598a.d A test/fail_compilation/imports/ice10598b.d A test/fail_compilation/imports/test313a.d A test/fail_compilation/imports/test314a.d A test/fail_compilation/imports/test314b.d A test/fail_compilation/imports/test314c.d A test/fail_compilation/test313.d A test/fail_compilation/test314.d M test/runnable/test24.d M test/runnable/test42.d M test/runnable/variadic.d Log Message: ----------- Merge pull request #2256 from 9rnsr/fix_imports Fix issue 313 & 314 implement more strict import mechanism Compare: https://github.com/D-Programming-Language/dmd/compare/dea20e73f786...6cf399220142 |
Copyright © 1999-2021 by the D Language Foundation