cgen: remove debugging comments (#20165)

This commit is contained in:
Felipe Pena 2023-12-13 12:13:47 -03:00 committed by GitHub
parent aef3643ab8
commit e9213ad209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(')
@ -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