October 01, 2013 [dmd-internals] [D-Programming-Language/dmd] 55decc: fix Issue 10947 - const out parameter is not prope... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 55decc97e5d059684e20c6dcd6a66aaa8b497f6f https://github.com/D-Programming-Language/dmd/commit/55decc97e5d059684e20c6dcd6a66aaa8b497f6f Author: k-hara <k.hara.pg@gmail.com> Date: 2013-09-20 (Fri, 20 Sep 2013) Changed paths: M src/mtype.c A test/fail_compilation/fail10947.d Log Message: ----------- fix Issue 10947 - const out parameter is not properly rejected Bitwise-and of Type::mod vs STCxxx is merely a mistake. Additionally, `out inout` parameter should also be rejected. Commit: ff48a5beb45f18f44fd79f761de22f4cc8bd19ae https://github.com/D-Programming-Language/dmd/commit/ff48a5beb45f18f44fd79f761de22f4cc8bd19ae Author: k-hara <k.hara.pg@gmail.com> Date: 2013-09-20 (Fri, 20 Sep 2013) Changed paths: M src/parse.c M test/fail_compilation/fail10947.d Log Message: ----------- [Refactoring] Report errors in semantic phase for invalid combination of parameter storage classes Do it in parsing phase reduces the chance of error reporting. Commit: e0a201bbf80fb7bfbc7e5caf2c29921c3bddf5e3 https://github.com/D-Programming-Language/dmd/commit/e0a201bbf80fb7bfbc7e5caf2c29921c3bddf5e3 Author: Andrej Mitrovic <andrej.mitrovich@gmail.com> Date: 2013-10-01 (Tue, 01 Oct 2013) Changed paths: M src/mtype.c M src/parse.c A test/fail_compilation/fail10947.d Log Message: ----------- Merge pull request #2511 from 9rnsr/fix10947 Issue 10947 - const out parameter is not properly rejected Compare: https://github.com/D-Programming-Language/dmd/compare/57ea22827f40...e0a201bbf80f |
Copyright © 1999-2021 by the D Language Foundation