mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix fmt test
This commit is contained in:
parent
d510cd1e0d
commit
dd29bfe4d2
@ -75,8 +75,7 @@ fn get_user() ?User {
|
||||
}
|
||||
|
||||
fn get_user_ptr() &User {
|
||||
return &User{
|
||||
}
|
||||
return &User{ }
|
||||
}
|
||||
|
||||
struct Foo {
|
||||
|
@ -1098,7 +1098,7 @@ fn (p mut Parser) if_expr() ast.Expr {
|
||||
// typ: typ
|
||||
|
||||
pos: pos
|
||||
has_else : has_else
|
||||
has_else: has_else
|
||||
// left: left
|
||||
|
||||
}
|
||||
@ -1302,7 +1302,7 @@ fn (p mut Parser) const_decl() ast.ConstDecl {
|
||||
mut exprs := []ast.Expr
|
||||
for p.tok.kind != .rpar {
|
||||
name := p.prepend_mod(p.check_name())
|
||||
// println('const: $name')
|
||||
// println('!!const: $name')
|
||||
p.check(.assign)
|
||||
expr,typ := p.expr(0)
|
||||
fields << ast.Field{
|
||||
|
Loading…
Reference in New Issue
Block a user