diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 80e7d5b411..a934350660 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -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) } } }