aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/compiler')
-rw-r--r--pkg/compiler/check.go1
1 files changed, 1 insertions, 0 deletions
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)