mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strconv: make atoi return ?int
This commit is contained in:
@@ -409,6 +409,7 @@ pub fn parse_args(args []string) (&Preferences, string) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// res.use_cache = true
|
||||
if command != 'doc' && res.out_name.ends_with('.v') {
|
||||
eprintln('Cannot save output binary in a .v file.')
|
||||
exit(1)
|
||||
|
Reference in New Issue
Block a user