mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
post increment/decrement repl fix
This commit is contained in:

committed by
Alexander Medvednikov

parent
706c6066d5
commit
a0c8ad7398
11
vlib/compiler/tests/repl/postfix_operators.repl
Normal file
11
vlib/compiler/tests/repl/postfix_operators.repl
Normal file
@ -0,0 +1,11 @@
|
||||
mut a := 2
|
||||
a++
|
||||
a
|
||||
println(a)
|
||||
println(a++)
|
||||
a
|
||||
===output===
|
||||
3
|
||||
3
|
||||
3
|
||||
3
|
Reference in New Issue
Block a user