checker: run vfmt over checker.v (#5965)

pull/5967/head
Lukas Neubert 2020-07-24 19:12:01 +02:00 committed by GitHub
parent 289974dd15
commit 2ccb28a93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -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 {