Skip to content

Commit

Permalink
linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hrissan authored and Brat-vseznamus committed Dec 11, 2024
1 parent 8f583bf commit 9f7f6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tlcodegen/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f7f6d6

Please sign in to comment.