mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
21 lines
256 B
V
21 lines
256 B
V
fn main() {
|
|
sprogress := if b.no_cstep {
|
|
'TMP1/${b.nexpected_steps:1d}'
|
|
} else {
|
|
'${b.cstep:1d}/${b.nexpected_steps:1d}'
|
|
}
|
|
b := if bar {
|
|
// comment
|
|
'some str'
|
|
} else {
|
|
'other str'
|
|
}
|
|
_ := if true {
|
|
Foo{}
|
|
} else {
|
|
Foo{
|
|
x: 5
|
|
}
|
|
}
|
|
}
|