From 02d129fe26c31412aad2e815db95ebe2dd99413f Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 27 Mar 2025 08:25:44 +0100 Subject: all: opt-out some functions to enforce linter checks New code will be limited to max 7 function params. --- pkg/compiler/check.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/compiler') diff --git a/pkg/compiler/check.go b/pkg/compiler/check.go index fbf84857d..bd3489ccc 100644 --- a/pkg/compiler/check.go +++ b/pkg/compiler/check.go @@ -872,6 +872,7 @@ func (comp *compiler) checkConstructors() { } } +// nolint:revive func (comp *compiler) checkTypeCtors(t *ast.Type, dir prog.Dir, isArg, canCreate bool, ctors, inputs map[string]bool, checked map[structDir]bool, neverOutAt *ast.Pos) { desc, args, base := comp.getArgsBase(t, isArg) -- cgit mrf-deployment