Skip to content

Commit

Permalink
cgen: remove debugging comments (#20165)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Dec 13, 2023
1 parent aef3643 commit e9213ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/v/gen/c/cgen.v
Expand Up @@ -6674,7 +6674,7 @@ fn (mut g Gen) as_cast(node ast.AsCast) {
g.write(tmp_var)
g.write(dot)
sidx := g.type_sidx(unwrapped_node_typ)
g.write('_typ, ${sidx}); }) /*expected idx: ${sidx}, name: ${sym.name} */ ')
g.write('_typ, ${sidx}); })')
} else {
if sym.info is ast.FnType {
g.write('/* as */ (${styp})__as_cast(')
Expand All @@ -6691,7 +6691,7 @@ fn (mut g Gen) as_cast(node ast.AsCast) {
g.write(')')
g.write(dot)
sidx := g.type_sidx(unwrapped_node_typ)
g.write('_typ, ${sidx}) /*expected idx: ${sidx}, name: ${sym.name} */ ')
g.write('_typ, ${sidx})')
}

// fill as cast name table
Expand Down

0 comments on commit e9213ad

Please sign in to comment.