From 9e1153b4a7bc30c315371639ea6e711245d0c2a2 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 8 Nov 2024 10:06:50 -0300 Subject: [PATCH] fix --- vlib/v/gen/js/js.v | 3 --- 1 file changed, 3 deletions(-) diff --git a/vlib/v/gen/js/js.v b/vlib/v/gen/js/js.v index 6862904e778edf..3aa1cc396759f8 100644 --- a/vlib/v/gen/js/js.v +++ b/vlib/v/gen/js/js.v @@ -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 {