ci: vfmt checker.v

pull/13263/head
Delyan Angelov 2022-01-24 14:01:35 +02:00
parent 4ba9a2ffbe
commit 0347dadf75
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 1 deletions

View File

@ -2734,7 +2734,8 @@ pub fn (mut c Checker) cast_expr(mut node ast.CastExpr) ast.Type {
if to_sym.kind == .rune && from_sym.is_string() {
snexpr := node.expr.str()
c.error('cannot cast `$from_sym.name` to rune, use `${snexpr}.runes()` instead.', node.pos)
c.error('cannot cast `$from_sym.name` to rune, use `${snexpr}.runes()` instead.',
node.pos)
}
if to_type == ast.string_type {