Skip to content

Commit

Permalink
checker: cleanup missed eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed May 11, 2021
1 parent e6011e8 commit 9f27cf5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vlib/v/checker/checker.v
Original file line number Diff line number Diff line change
Expand Up @@ -5755,7 +5755,6 @@ pub fn (mut c Checker) if_expr(mut node ast.IfExpr) ast.Type {
checked_type := c.unwrap_generic((left as ast.TypeNode).typ)
should_skip = !c.table.type_implements_interface(checked_type,
got_type)
eprintln('> checked_type: $checked_type | got_type: $got_type | should_skip: $should_skip')
} else if left is ast.TypeNode {
is_comptime_type_is_expr = true
left_type := c.unwrap_generic(left.typ)
Expand Down

0 comments on commit 9f27cf5

Please sign in to comment.