1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vfmt: run over vlib/v/checker/checker.v

This commit is contained in:
Delyan Angelov 2020-12-11 15:16:26 +02:00
parent df4ec89a03
commit f2ea21b571
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -2615,7 +2615,7 @@ fn (mut c Checker) stmt(node ast.Stmt) {
} }
c.check_loop_label(node.label, node.pos) c.check_loop_label(node.label, node.pos)
c.stmts(node.stmts) c.stmts(node.stmts)
c.loop_label = prev_loop_label c.loop_label = prev_loop_label
c.in_for_count-- c.in_for_count--
} }
ast.ForStmt { ast.ForStmt {
@ -2630,7 +2630,7 @@ fn (mut c Checker) stmt(node ast.Stmt) {
// how does this work currenly? // how does this work currenly?
c.check_loop_label(node.label, node.pos) c.check_loop_label(node.label, node.pos)
c.stmts(node.stmts) c.stmts(node.stmts)
c.loop_label = prev_loop_label c.loop_label = prev_loop_label
c.in_for_count-- c.in_for_count--
} }
ast.GlobalDecl { ast.GlobalDecl {