Add --examine-coverage to fix_error_ids.py

This commit is contained in:
a3d4
2020-07-01 21:41:31 +02:00
parent 8fde9fd1c3
commit 919572d6ec
3 changed files with 97 additions and 21 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ struct InvalidAstError: virtual util::Exception {};
* They are passed as the first parameter of error reporting functions.
* Suffix _error helps to find them in the sources.
* The struct ErrorId prevents incidental calls like typeError(3141) instead of typeError(3141_error).
* To create a new ID, one can add 0000_error and then run "python ./scripts/fix_error_ids.py"
* To create a new ID, one can add 0000_error and then run "python ./scripts/error_codes.py --fix"
* from the root of the repo.
*/
struct ErrorId