May 06, 2013 [dmd-internals] [D-Programming-Language/dmd] 23e588: [Refactoring] Distinguish internal AliasDeclaratio... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 23e5887a64d2dd4820cc44f7ea67e5310dd7c4d0 https://github.com/D-Programming-Language/dmd/commit/23e5887a64d2dd4820cc44f7ea67e5310dd7c4d0 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M src/declaration.c M src/import.c M src/statement.c Log Message: ----------- [Refactoring] Distinguish internal AliasDeclarations for selective/renamed imports Keep `AliasDeclaration::import` even after resolving forward refs. Commit: c83b050ece08ec76ff8c3daa24028d27249884d1 https://github.com/D-Programming-Language/dmd/commit/c83b050ece08ec76ff8c3daa24028d27249884d1 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M src/expression.c M src/expression.h A test/runnable/imports/ufcs5a.d A test/runnable/imports/ufcs5b.d A test/runnable/imports/ufcs5c.d A test/runnable/imports/ufcs5d.d A test/runnable/imports/ufcs5e.d M test/runnable/ufcs.d Log Message: ----------- Implement proper UFCS name look up In basic, UFCS name search looks for only symbols in module scope. If the enclosing scopes have local imports, the imported overload-set and selected/renamed symbols should also be considered in searching. In my opinion, UFCS should not see the locally declared symbols (in statement scope and aggregate member scope). So, currently, this is a final step for the UFCS implementation. Commit: bb8b47d9168fde3c258eeb0d30a8b5e93ff9c684 https://github.com/D-Programming-Language/dmd/commit/bb8b47d9168fde3c258eeb0d30a8b5e93ff9c684 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M test/runnable/ufcs.d Log Message: ----------- fix Issue 6185 - Include non-global functions when resolving UFCS Commit: 08faebacecae721246ad34421db266030cd54b25 https://github.com/D-Programming-Language/dmd/commit/08faebacecae721246ad34421db266030cd54b25 Author: Walter Bright <walter@walterbright.com> Date: 2013-05-06 (Mon, 06 May 2013) Changed paths: M src/declaration.c M src/expression.c M src/expression.h M src/import.c M src/statement.c A test/runnable/imports/ufcs5a.d A test/runnable/imports/ufcs5b.d A test/runnable/imports/ufcs5c.d A test/runnable/imports/ufcs5d.d A test/runnable/imports/ufcs5e.d M test/runnable/ufcs.d Log Message: ----------- Merge pull request #1930 from 9rnsr/new_ufcs Implement proper UFCS name look up Compare: https://github.com/D-Programming-Language/dmd/compare/b7b1fc60712b...08faebacecae |
Copyright © 1999-2021 by the D Language Foundation