checker: remove a println call

This commit is contained in:
Delyan Angelov 2023-12-29 21:40:51 +02:00
parent cb525f07d8
commit 4690fecdf1
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

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