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
|
||||
if left_type != 0 {
|
||||
match mut left.obj as v {
|
||||
ast.Var {
|
||||
v.typ = left_type
|
||||
}
|
||||
ast.GlobalDecl {
|
||||
v.typ = left_type
|
||||
}
|
||||
ast.Var { v.typ = left_type }
|
||||
ast.GlobalDecl { v.typ = left_type }
|
||||
else {}
|
||||
|
||||
}
|
||||
/*
|
||||
if left.obj is ast.Var as v {
|
||||
|
Loading…
Reference in New Issue
Block a user