Skip to content

Commit

Permalink
checker: a minor cleanup (#20425)
Browse files Browse the repository at this point in the history
  • Loading branch information
shove70 committed Jan 7, 2024
1 parent d3e62b4 commit 46a467f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/checker/comptime.v
Expand Up @@ -814,7 +814,7 @@ fn (mut c Checker) comptime_if_branch(mut cond ast.Expr, pos token.Pos) Comptime
}
}
} else {
c.error('invalid `\$if` condition: ${cond.left.type_name()}1',
c.error('invalid `\$if` condition: ${cond.left.type_name()}',
cond.pos)
}
}
Expand Down

0 comments on commit 46a467f

Please sign in to comment.