February 17, 2016 [phobos] [D-Programming-Language/phobos] ad226e: added getOpt constraint that checks the options | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: ad226e92d5f092df233b90fd3fdedb8b71d728eb https://github.com/D-Programming-Language/phobos/commit/ad226e92d5f092df233b90fd3fdedb8b71d728eb Author: Basile Burg <basile.b@gmx.com> Date: 2016-01-19 (Tue, 19 Jan 2016) Changed paths: M std/getopt.d Log Message: ----------- added getOpt constraint that checks the options on invalid pattern: - outputs a message that gives a hint about the wrong type - includes the index of the wrong option the message doesn't hide the error origin becasue pragma(msg) is used instead or assert(0) Commit: 405858d816890edd068e494d4600a3d60b5c1184 https://github.com/D-Programming-Language/phobos/commit/405858d816890edd068e494d4600a3d60b5c1184 Author: H. S. Teoh <hsteoh@quickfur.ath.cx> Date: 2016-02-17 (Wed, 17 Feb 2016) Changed paths: M std/getopt.d Log Message: ----------- Merge pull request #3859 from BBasile/getopt-checker Static verification of std.getopt arguments with more helpful error messages Compare: https://github.com/D-Programming-Language/phobos/compare/32f032fe65fd...405858d81689 |
Copyright © 1999-2021 by the D Language Foundation