mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
use ++ everywhere
This commit is contained in:
@ -16,7 +16,7 @@ fn test_defer() {
|
||||
}
|
||||
|
||||
fn set_num(i int, n mut Num) {
|
||||
defer { n.val+=1 }
|
||||
defer { n.val++ }
|
||||
println("Hi")
|
||||
if i < 5 {
|
||||
return
|
||||
|
Reference in New Issue
Block a user