October 09, 2014 [dmd-internals] [D-Programming-Language/dmd] f6508c: -v2: warn about const storage class | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/dmd-1.x Home: https://github.com/D-Programming-Language/dmd Commit: f6508c9d448bdbfff99d96c335e0910062bcc769 https://github.com/D-Programming-Language/dmd/commit/f6508c9d448bdbfff99d96c335e0910062bcc769 Author: Mihails Strasuns <mihails.strasuns@sociomantic.com> Date: 2014-10-09 (Thu, 09 Oct 2014) Changed paths: M src/declaration.c Log Message: ----------- -v2: warn about const storage class As const is qualifier in D2 there is no striaghtforward replacement for this D1 pattern. Most simple approach is to make those variables mutable for transitional period and re-qualify later on case by case basis. Commit: 5fc77dff5714ed23e6e40ea8946918f07f985145 https://github.com/D-Programming-Language/dmd/commit/5fc77dff5714ed23e6e40ea8946918f07f985145 Author: Walter Bright <walter@walterbright.com> Date: 2014-10-09 (Thu, 09 Oct 2014) Changed paths: M src/declaration.c Log Message: ----------- Merge pull request #4058 from mihails-strasuns-sociomantic/v2-const-storage-class [D1] -v2: warn about const storage class Compare: https://github.com/D-Programming-Language/dmd/compare/d82522fbd208...5fc77dff5714 |
Copyright © 1999-2021 by the D Language Foundation