checker: a minor cleanup (#20425)

This commit is contained in:
shove 2024-01-07 20:56:13 +08:00 committed by GitHub
parent d3e62b4f24
commit 46a467fe3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
}