mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
parser: fail when assigning to _ with :=
This commit is contained in:
parent
36edd6295f
commit
11b7b97311
41 changed files with 137 additions and 111 deletions
|
@ -36,7 +36,7 @@ pub fn start_reloader(mut r live.LiveReloadInfo) {
|
|||
// If that fails, the program would crash anyway, just provide
|
||||
// an error message to the user and exit:
|
||||
r.reloads++
|
||||
_ := compile_and_reload_shared_lib(mut r) or {
|
||||
compile_and_reload_shared_lib(mut r) or {
|
||||
eprintln( err )
|
||||
exit(1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue