From 8b3990225ad1a8d8f735de4015ffcb2a6d3db25f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 27 Aug 2020 12:09:08 +0300 Subject: [PATCH] v.checker: run vfmt over vlib/v/checker/checker.v --- vlib/v/checker/checker.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } }