mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: run vfmt over checker.v (#5965)
This commit is contained in:
parent
289974dd15
commit
2ccb28a93e
@ -1643,14 +1643,9 @@ pub fn (mut c Checker) assign_stmt(mut assign_stmt ast.AssignStmt) {
|
|||||||
left.info = ident_var_info
|
left.info = ident_var_info
|
||||||
if left_type != 0 {
|
if left_type != 0 {
|
||||||
match mut left.obj as v {
|
match mut left.obj as v {
|
||||||
ast.Var {
|
ast.Var { v.typ = left_type }
|
||||||
v.typ = left_type
|
ast.GlobalDecl { v.typ = left_type }
|
||||||
}
|
|
||||||
ast.GlobalDecl {
|
|
||||||
v.typ = left_type
|
|
||||||
}
|
|
||||||
else {}
|
else {}
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
if left.obj is ast.Var as v {
|
if left.obj is ast.Var as v {
|
||||||
|
Loading…
Reference in New Issue
Block a user