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:

committed by
Alexander Medvednikov

parent
746655c1d5
commit
8974aa4513
@@ -117,7 +117,7 @@ fn main() {
|
||||
|
||||
flag_options := parse_flags(mut fp)
|
||||
|
||||
_ := fp.finalize() or {
|
||||
_ = fp.finalize() or {
|
||||
eprintln(err)
|
||||
println(fp.usage())
|
||||
return
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user