February 18, 2012 [dmd-internals] [D-Programming-Language/dmd] 94d0dd: fix 7494 - selective imports in function scope | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 94d0dd2cc258c7eaf6fdf51546be2afbaeae719e https://github.com/D-Programming-Language/dmd/commit/94d0dd2cc258c7eaf6fdf51546be2afbaeae719e Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/declaration.c M src/statement.c A test/fail_compilation/fail357a.d A test/fail_compilation/fail357b.d A test/fail_compilation/fail357c.d A test/fail_compilation/fail357d.d A test/fail_compilation/fail4245a.d A test/fail_compilation/fail4245b.d A test/fail_compilation/fail4245c.d A test/fail_compilation/fail4245d.d A test/fail_compilation/fail4245e.d A test/fail_compilation/fail4245f.d A test/fail_compilation/imports/fail357a.d A test/fail_compilation/imports/fail357b.d A test/fail_compilation/imports/fail357c.d A test/runnable/imports/test7494a.d A test/runnable/imports/test7494b.d A test/runnable/test43.d Log Message: ----------- fix 7494 - selective imports in function scope - Add all import symbols to the function scope using Import::addMember. - There are additional tests for an older bugfix of 4245 because I had to understand the localsymtab purpose. Commit: f64bdb6663ead3b65c9fbd51a425a4a91a7f7811 https://github.com/D-Programming-Language/dmd/commit/f64bdb6663ead3b65c9fbd51a425a4a91a7f7811 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M test/runnable/mixin1.d Log Message: ----------- remove recursive alias in test case Commit: 477cbd2559a5230220375a9c4c825b9ff2591147 https://github.com/D-Programming-Language/dmd/commit/477cbd2559a5230220375a9c4c825b9ff2591147 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/access.c M src/declaration.c M src/declaration.h M src/dsymbol.c M src/dsymbol.h M src/enum.c M src/enum.h M src/expression.c M src/expression.h M src/func.c M src/mtype.c M src/template.c M src/template.h A test/compilable/imports/test73.d A test/compilable/imports/test74.d A test/compilable/imports/test75.d A test/compilable/imports/testprotection1.d A test/compilable/test73.d A test/compilable/test74.d A test/compilable/test75.d A test/compilable/testprotection1a.d A test/compilable/testprotection1b.d Log Message: ----------- fix Protection - Check protection whenever resolving Identifiers. - Check all symbols not only declarations, this includes UDT. - Protection peephole for template arguments so that they can be instatiated with private symbols. Commit: a96f9121cffe0071559d3dd984cc61c4c9dac32b https://github.com/D-Programming-Language/dmd/commit/a96f9121cffe0071559d3dd984cc61c4c9dac32b Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/access.c M src/dsymbol.c M src/dsymbol.h M src/expression.c M src/import.c M src/module.c M src/module.h Log Message: ----------- fix Imports - apply protection to aliases added by imports - restrict visibility of module level symbols to given access rights - restrict access rights when searching across imported modules Commit: 0420199e59de15e1adf27628d9acfee0fc056049 https://github.com/D-Programming-Language/dmd/commit/0420199e59de15e1adf27628d9acfee0fc056049 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/import.c Log Message: ----------- detect collisions with renamed imports Commit: b34b58f614fce22d132624dc7f6a84eb9e6a5213 https://github.com/D-Programming-Language/dmd/commit/b34b58f614fce22d132624dc7f6a84eb9e6a5213 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/access.c M src/attrib.c M src/dsymbol.c M src/dsymbol.h M src/expression.c M src/import.c M src/json.c M src/mtype.c M src/scope.c M src/scope.h M src/template.c Log Message: ----------- find private symbols during spell correction - merge protection to string functions - suppress warnings during Scope::search_correct - fix Dsymbol::search_correct Since DsymbolTable no longer uses a StringTable we need to look up speller proposals in the lexer StringTable to get a unique identifier. Commit: 1df95058f4c3c68d03ec69dd58491ff401a6434a https://github.com/D-Programming-Language/dmd/commit/1df95058f4c3c68d03ec69dd58491ff401a6434a Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test143.d A test/fail_compilation/test143.d Log Message: ----------- fixed Issue 143 Commit: 4c3044f40daad2434eb46fd6c89d86e71eed7d1c https://github.com/D-Programming-Language/dmd/commit/4c3044f40daad2434eb46fd6c89d86e71eed7d1c Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test1161.d A test/fail_compilation/test1161.d Log Message: ----------- fixed Issue 1161 Commit: ffa8e10d838c1a0dc45db3a793ca9253cacbc5a8 https://github.com/D-Programming-Language/dmd/commit/ffa8e10d838c1a0dc45db3a793ca9253cacbc5a8 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/compilable/imports/test1238a.d A test/compilable/imports/test1238b.d A test/compilable/test1238.d Log Message: ----------- fixed Issue 1238 Commit: a75022643a7f6758074f8b107a2c37eb1231e3f8 https://github.com/D-Programming-Language/dmd/commit/a75022643a7f6758074f8b107a2c37eb1231e3f8 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test1441a.d A test/fail_compilation/imports/test1441b.d A test/fail_compilation/test1441a.d A test/fail_compilation/test1441b.d Log Message: ----------- fixed Issue 1441 Commit: fe30e8aec437a9bb42acf9bca11faf12078cd74e https://github.com/D-Programming-Language/dmd/commit/fe30e8aec437a9bb42acf9bca11faf12078cd74e Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/compilable/imports/test1754a.d A test/compilable/imports/test1754b.d A test/compilable/test1754.d Log Message: ----------- fixed Issue 1754 Commit: 1114e319d9a47d2b9f1b3f3f29d3a17325d98f24 https://github.com/D-Programming-Language/dmd/commit/1114e319d9a47d2b9f1b3f3f29d3a17325d98f24 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test2225.d A test/fail_compilation/test2225.d A test/runnable/imports/test2225.d A test/runnable/test2225.d Log Message: ----------- fixed Issue 2225 Commit: 684dd4908f6e2a05ca9a2b4999f49f912e157ee4 https://github.com/D-Programming-Language/dmd/commit/684dd4908f6e2a05ca9a2b4999f49f912e157ee4 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test2775.d A test/fail_compilation/test2775.d Log Message: ----------- fixed Issue 2775 Commit: 8c4826943dda06845d900a09b45383b06f31dd57 https://github.com/D-Programming-Language/dmd/commit/8c4826943dda06845d900a09b45383b06f31dd57 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test2830a.d A test/fail_compilation/imports/test2830b.d A test/fail_compilation/imports/test2830c.d A test/fail_compilation/imports/test2830d.d A test/fail_compilation/imports/test2830e.d A test/fail_compilation/imports/test2830f.d A test/fail_compilation/test2830a.d A test/fail_compilation/test2830b.d A test/fail_compilation/test2830c.d A test/fail_compilation/test2830d.d A test/fail_compilation/test2830e.d A test/fail_compilation/test2830f.d Log Message: ----------- fixed Issue 2830 Commit: e7f5fd4eccff9fde7b2cd21e578709aa352f5375 https://github.com/D-Programming-Language/dmd/commit/e7f5fd4eccff9fde7b2cd21e578709aa352f5375 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test313a.d A test/fail_compilation/imports/test313b.d A test/fail_compilation/imports/test313priv.d A test/fail_compilation/test313a.d A test/fail_compilation/test313b.d Log Message: ----------- test cases for 313 - still unfixed Commit: 62b930cc80684f8e079464585a045f6b50212c9f https://github.com/D-Programming-Language/dmd/commit/62b930cc80684f8e079464585a045f6b50212c9f Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) 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/imports/test314d.d A test/fail_compilation/imports/test314e.d A test/fail_compilation/imports/test314imp.d A test/fail_compilation/test314a.d A test/fail_compilation/test314b.d A test/fail_compilation/test314c.d A test/fail_compilation/test314d.d A test/fail_compilation/test314e.d Log Message: ----------- fixed Issue 314 Commit: a1f5ac44780d144402f01d436ff8417ee74363fa https://github.com/D-Programming-Language/dmd/commit/a1f5ac44780d144402f01d436ff8417ee74363fa Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/compilable/imports/test2401a.d A test/compilable/imports/test2401b.d A test/compilable/test2401.d Log Message: ----------- fixed Issue 2401 Commit: a012b70cf8bee7691189500b68c8b96d3a1ca05d https://github.com/D-Programming-Language/dmd/commit/a012b70cf8bee7691189500b68c8b96d3a1ca05d Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/compilable/imports/test2991.d A test/compilable/test2991.d Log Message: ----------- fixed Issue 2991 Commit: 6e40ef4a617fa3857b5f29543e0dd9200e5d34a1 https://github.com/D-Programming-Language/dmd/commit/6e40ef4a617fa3857b5f29543e0dd9200e5d34a1 Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/compilable/imports/test3254a.d A test/compilable/imports/test3254b.d A test/compilable/test3254a.d A test/compilable/test3254b.d Log Message: ----------- fixed Issue 3254 Commit: d56aa5f2aa1bb228511a08b26999022ed62fb19e https://github.com/D-Programming-Language/dmd/commit/d56aa5f2aa1bb228511a08b26999022ed62fb19e Author: dawg <dawg@dawgfoto.de> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: A test/fail_compilation/imports/test5412a.d A test/fail_compilation/imports/test5412b.d A test/fail_compilation/test5412a.d A test/fail_compilation/test5412b.d A test/fail_compilation/test5412c.d A test/fail_compilation/test5412c2.di Log Message: ----------- fixed Issue 5412 Commit: 03e8dddc8a53e42d73b04dd23287f206fcc35dd0 https://github.com/D-Programming-Language/dmd/commit/03e8dddc8a53e42d73b04dd23287f206fcc35dd0 Author: Walter Bright <walter@walterbright.com> Date: 2012-02-18 (Sat, 18 Feb 2012) Changed paths: M src/access.c M src/attrib.c M src/declaration.c M src/declaration.h M src/dsymbol.c M src/dsymbol.h M src/enum.c M src/enum.h M src/expression.c M src/expression.h M src/func.c M src/import.c M src/json.c M src/module.c M src/module.h M src/mtype.c M src/scope.c M src/scope.h M src/statement.c M src/template.c M src/template.h A test/compilable/imports/test1238a.d A test/compilable/imports/test1238b.d A test/compilable/imports/test1754a.d A test/compilable/imports/test1754b.d A test/compilable/imports/test2401a.d A test/compilable/imports/test2401b.d A test/compilable/imports/test2991.d A test/compilable/imports/test3254a.d A test/compilable/imports/test3254b.d A test/compilable/imports/test73.d A test/compilable/imports/test74.d A test/compilable/imports/test75.d A test/compilable/imports/testprotection1.d A test/compilable/test1238.d A test/compilable/test1754.d A test/compilable/test2401.d A test/compilable/test2991.d A test/compilable/test3254a.d A test/compilable/test3254b.d A test/compilable/test73.d A test/compilable/test74.d A test/compilable/test75.d A test/compilable/testprotection1a.d A test/compilable/testprotection1b.d A test/fail_compilation/fail357a.d A test/fail_compilation/fail357b.d A test/fail_compilation/fail357c.d A test/fail_compilation/fail357d.d A test/fail_compilation/fail4245a.d A test/fail_compilation/fail4245b.d A test/fail_compilation/fail4245c.d A test/fail_compilation/fail4245d.d A test/fail_compilation/fail4245e.d A test/fail_compilation/fail4245f.d A test/fail_compilation/imports/fail357a.d A test/fail_compilation/imports/fail357b.d A test/fail_compilation/imports/fail357c.d A test/fail_compilation/imports/test1161.d A test/fail_compilation/imports/test143.d A test/fail_compilation/imports/test1441a.d A test/fail_compilation/imports/test1441b.d A test/fail_compilation/imports/test2225.d A test/fail_compilation/imports/test2775.d A test/fail_compilation/imports/test2830a.d A test/fail_compilation/imports/test2830b.d A test/fail_compilation/imports/test2830c.d A test/fail_compilation/imports/test2830d.d A test/fail_compilation/imports/test2830e.d A test/fail_compilation/imports/test2830f.d A test/fail_compilation/imports/test313a.d A test/fail_compilation/imports/test313b.d A test/fail_compilation/imports/test313priv.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/imports/test314d.d A test/fail_compilation/imports/test314e.d A test/fail_compilation/imports/test314imp.d A test/fail_compilation/imports/test5412a.d A test/fail_compilation/imports/test5412b.d A test/fail_compilation/test1161.d A test/fail_compilation/test143.d A test/fail_compilation/test1441a.d A test/fail_compilation/test1441b.d A test/fail_compilation/test2225.d A test/fail_compilation/test2775.d A test/fail_compilation/test2830a.d A test/fail_compilation/test2830b.d A test/fail_compilation/test2830c.d A test/fail_compilation/test2830d.d A test/fail_compilation/test2830e.d A test/fail_compilation/test2830f.d A test/fail_compilation/test313a.d A test/fail_compilation/test313b.d A test/fail_compilation/test314a.d A test/fail_compilation/test314b.d A test/fail_compilation/test314c.d A test/fail_compilation/test314d.d A test/fail_compilation/test314e.d A test/fail_compilation/test5412a.d A test/fail_compilation/test5412b.d A test/fail_compilation/test5412c.d A test/fail_compilation/test5412c2.di A test/runnable/imports/test2225.d A test/runnable/imports/test7494a.d A test/runnable/imports/test7494b.d M test/runnable/mixin1.d A test/runnable/test2225.d A test/runnable/test43.d Log Message: ----------- Merge pull request #727 from dawgfoto/fixProtection Fix protection/imports Compare: https://github.com/D-Programming-Language/dmd/compare/992fe40...03e8ddd |
Copyright © 1999-2021 by the D Language Foundation