cgen: remove debug comments before for loops

pull/10581/head
Alexander Medvednikov 2021-06-26 02:05:53 +03:00
parent 19dca026a9
commit 02f4f635cf
1 changed files with 2 additions and 2 deletions

View File

@ -1537,7 +1537,7 @@ fn (mut g Gen) for_in_stmt(node ast.ForInStmt) {
g.writeln('; ++$i) {')
} else if node.kind == .array {
// `for num in nums {`
g.writeln('// FOR IN array')
// g.writeln('// FOR IN array')
styp := g.typ(node.val_type)
val_sym := g.table.get_type_symbol(node.val_type)
mut cond_var := ''
@ -1635,7 +1635,7 @@ fn (mut g Gen) for_in_stmt(node ast.ForInStmt) {
}
} else if node.kind == .map {
// `for key, val in map {
g.writeln('// FOR IN map')
// g.writeln('// FOR IN map')
mut cond_var := ''
if node.cond is ast.Ident {
cond_var = g.expr_string(node.cond)