mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
final vfmt run before CI check
This commit is contained in:
parent
2b9392c46c
commit
ef28a6b872
10 changed files with 92 additions and 86 deletions
|
@ -980,7 +980,7 @@ fn (p mut Parser) get_type() string {
|
|||
// Register anon fn type
|
||||
fn_typ := Type{
|
||||
name: f.typ_str() // 'fn (int, int) string'
|
||||
|
||||
|
||||
mod: p.mod
|
||||
func: f
|
||||
}
|
||||
|
@ -1100,7 +1100,9 @@ fn (p mut Parser) get_type() string {
|
|||
if type_param in p.generic_dispatch.inst {
|
||||
typ = '${typ}_' + p.generic_dispatch.inst[type_param]
|
||||
}
|
||||
if p.tok != .comma { break }
|
||||
if p.tok != .comma {
|
||||
break
|
||||
}
|
||||
p.check(.comma)
|
||||
}
|
||||
p.check(.gt)
|
||||
|
@ -3020,7 +3022,9 @@ fn (p mut Parser) skip_block(inside_first_lcbr bool) {
|
|||
}
|
||||
if p.tok == .rcbr {
|
||||
cbr_depth--
|
||||
if cbr_depth == 0 { break }
|
||||
if cbr_depth == 0 {
|
||||
break
|
||||
}
|
||||
}
|
||||
p.next()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue