v.checker: run vfmt over vlib/v/checker/checker.v

pull/5997/head
Delyan Angelov 2020-08-27 12:09:08 +03:00
parent f73506be49
commit 8b3990225a
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ pub fn (mut c Checker) type_decl(node ast.TypeDecl) {
if typ_sym.kind == .placeholder {
c.error("type `$typ_sym.source_name` doesn't exist", node.pos)
} else if typ_sym.kind == .interface_ {
c.error("sum type cannot hold an interface", node.pos)
c.error('sum type cannot hold an interface', node.pos)
}
}
}