1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: abort prematurely on too many errors (#11185)

This commit is contained in:
Leo Developer
2021-08-15 12:41:51 +02:00
committed by GitHub
parent 6bc44acc70
commit b3094b0667
7 changed files with 87 additions and 75 deletions

View File

@@ -131,7 +131,6 @@ const (
'-w',
'-print-v-files',
'-error-limit',
'-warn-error-limit',
'-os',
'-printfn',
'-cflags',

View File

@@ -82,9 +82,10 @@ NB: the build flags are shared with the run command too:
d) the function name
NB: if you want to output the profile info to stdout, use `-profile -`.
-warn-error-limit <limit>
Limit of warnings / errors that will be accumulated (defaults to 100).
Settings this to a negative value will disable the limit.
-error-limit <limit>
The maximum amount of warnings / errors / notices, that will be accumulated (defaults to 100).
The checker will abort prematurely once this limit has been reached.
Setting this to 0 or a negative value, will disable the limit.
-profile-no-inline
Skip [inline] functions when profiling.