Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Nov 8, 2024
1 parent 901df79 commit 9e1153b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vlib/v/gen/js/js.v
Original file line number Diff line number Diff line change
Expand Up @@ -3252,21 +3252,18 @@ fn (mut g JsGen) gen_selector_expr(it ast.SelectorExpr) {
g.write('new int(')
g.write('${int(g.unwrap_generic(it.name_type))}')
g.write(')')
g.write(')')
return
}
.unaliased_typ {
g.write('new int(')
g.write('${int(g.table.unaliased_type(g.unwrap_generic(it.name_type)))}')
g.write(')')
g.write(')')
return
}
.indirections {
g.write('new int(')
g.write('${int(g.unwrap_generic(it.name_type).nr_muls())}')
g.write(')')
g.write(')')
return
}
.unknown {
Expand Down

0 comments on commit 9e1153b

Please sign in to comment.