mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
checker: a minor cleanup (#20425)
This commit is contained in:
parent
d3e62b4f24
commit
46a467fe3b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue