mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix v vet file.v for return if x { y // comment } else { z }
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fn abc() int {
|
||||
return if true {
|
||||
0x4000 // 16KB
|
||||
} else {
|
||||
0x1000 // 4KB
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user