From 7426544610289ee33282b4cec05ca6595438a8ce Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Wed, 16 Dec 2020 18:09:02 +1100 Subject: [PATCH] parser: vfmt parser.v --- vlib/v/parser/parser.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index 9a60cc5e80..43ce34bb92 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -2081,7 +2081,8 @@ fn (mut p Parser) type_decl() ast.TypeDecl { is_public: is_pub }) if idx == -1 { - p.error_with_pos('cannot register alias `$name`, another type with this name exists', decl_pos.extend(type_alias_pos)) + p.error_with_pos('cannot register alias `$name`, another type with this name exists', + decl_pos.extend(type_alias_pos)) return ast.AliasTypeDecl{} } if idx == pidx {