mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
checker: remove a println call
This commit is contained in:
parent
cb525f07d8
commit
4690fecdf1
1 changed files with 0 additions and 1 deletions
|
@ -531,7 +531,6 @@ fn (mut c Checker) smartcast_if_conds(mut node ast.Expr, mut scope ast.Scope) {
|
||||||
}
|
}
|
||||||
ast.Ident {
|
ast.Ident {
|
||||||
if right_expr.name == c.comptime.comptime_for_variant_var {
|
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']
|
c.comptime.type_map['${c.comptime.comptime_for_variant_var}.typ']
|
||||||
} else {
|
} else {
|
||||||
c.error('invalid type `${right_expr}`', right_expr.pos)
|
c.error('invalid type `${right_expr}`', right_expr.pos)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue