mirror of
https://github.com/vlang/v.git
synced 2025-09-14 09:56:16 -04:00
checker: a minor cleanup (#20425)
This commit is contained in:
parent
d3e62b4f24
commit
46a467fe3b
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user