Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
v2
/
vlib
/
v
/
checker
/
tests
/
inc_dec_fun_call.out
6
lines
·
6
sloc
·
204 bytes
·
e2e5cf8db56f3562c7baa735061690be936bdf3e
Raw
1
vlib/v/checker/tests/inc_dec_fun_call.vv:5:1: error: cannot decrement `foo()` because it is non lvalue expression
2
3 | }
3
4 |
4
5 | foo()--
5
| ~~~~~
6
Details: try rewrite this as `foo() - 1`
7