From 9f7f6d6db4416593e48d93f5401a2fdbd9b0a722 Mon Sep 17 00:00:00 2001 From: Grigory Buteyko Date: Wed, 11 Dec 2024 21:38:46 +0300 Subject: [PATCH] linter happy --- internal/tlcodegen/builtin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tlcodegen/builtin.go b/internal/tlcodegen/builtin.go index 0d359ea..c363099 100644 --- a/internal/tlcodegen/builtin.go +++ b/internal/tlcodegen/builtin.go @@ -166,7 +166,7 @@ func (gen *Gen2) ReplaceSquareBracketsElem(tl tlast.TL) (tlast.TL, error) { } else if len(insideField.ScaleRepeat.Rep) != 1 || insideField.ScaleRepeat.Rep[0].FieldName != "" || insideField.ScaleRepeat.Rep[0].Mask != nil { tWithArgs = replaceRep(insideField.ScaleRepeat.Rep) if doLint(originalCommentRight) { - e1 := insideField.ScaleRepeat.PR.BeautifulError(fmt.Errorf("tlgen has to invent name for type inside brackets, please give a good name to it manually.")) + e1 := insideField.ScaleRepeat.PR.BeautifulError(fmt.Errorf("tlgen has to invent name for type inside brackets, please give a good name to it manually")) if gen.options.WarningsAreErrors { return tWithArgs, e1