mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: remove parenthesis around single ident (#9696)
This commit is contained in:
3
vlib/v/fmt/tests/par_expr_expected.vv
Normal file
3
vlib/v/fmt/tests/par_expr_expected.vv
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
_ := (cond1 && cond2) || single_ident
|
||||
}
|
3
vlib/v/fmt/tests/par_expr_input.vv
Normal file
3
vlib/v/fmt/tests/par_expr_input.vv
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
_ := (cond1 && cond2) || (single_ident)
|
||||
}
|
Reference in New Issue
Block a user