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

compiler/vlib: change _ := to _ = and disable _ :=

This commit is contained in:
joe-conigliaro
2019-09-25 22:10:45 +10:00
committed by Alexander Medvednikov
parent 746655c1d5
commit 8974aa4513
12 changed files with 33 additions and 33 deletions

View File

@@ -117,7 +117,7 @@ fn main() {
flag_options := parse_flags(mut fp)
_ := fp.finalize() or {
_ = fp.finalize() or {
eprintln(err)
println(fp.usage())
return

View File

@@ -67,7 +67,7 @@ fn main() {
final_module_path := '$home_vmodules/' + mod.name.replace('.', '/')
println('Installing module "$name" from $mod.url to $final_module_path ...')
_ := os.exec('git clone --depth=1 $mod.url $final_module_path') or {
_ = os.exec('git clone --depth=1 $mod.url $final_module_path') or {
errors++
println('Could not install module "$name" to "$final_module_path" .')
println('Error details: $err')