From 4690fecdf1375e9c375ec2ad84de227ab90a7db2 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 29 Dec 2023 21:40:51 +0200 Subject: [PATCH] checker: remove a println call --- vlib/v/checker/if.v | 1 - 1 file changed, 1 deletion(-) diff --git a/vlib/v/checker/if.v b/vlib/v/checker/if.v index eae7fe952a..4c48337723 100644 --- a/vlib/v/checker/if.v +++ b/vlib/v/checker/if.v @@ -531,7 +531,6 @@ fn (mut c Checker) smartcast_if_conds(mut node ast.Expr, mut scope ast.Scope) { } ast.Ident { if right_expr.name == c.comptime.comptime_for_variant_var { - println(c.comptime.type_map['${c.comptime.comptime_for_variant_var}.typ']) c.comptime.type_map['${c.comptime.comptime_for_variant_var}.typ'] } else { c.error('invalid type `${right_expr}`', right_expr.pos)