mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.checker: run vfmt over vlib/v/checker/checker.v
This commit is contained in:
parent
f73506be49
commit
8b3990225a
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user