8000 Incorrect handling variadic parameters · Issue #55 · fe3dback/go-arch-lint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Incorrect handling variadic parameters  #55
Closed
@ilya-hontarau

Description

@ilya-hontarau

With deepscan and variadic functions, linter exits with panic:
panic: runtime error: index out of range [1] with length 1

goroutine 340 [running]:
github.com/fe3dback/go-arch-lint/internal/services/checker/deepscan.(*Searcher).applyMethodImplementationsInPackages.func1(0x140000f7b00)
/Users/ilyahontarau/go/src/github.com/ilya-hontarau/go-arch-lint/internal/services/checker/deepscan/searcher_find_implementations.go:137 +0x41c
github.com/fe3dback/go-arch-lint/internal/services/checker/deepscan.(*Searcher).findFunctionCa 525D lls.func1({0x10237eb78?, 0x140000f7b00})
/Users/ilyahontarau/go/src/github.com/ilya-hontarau/go-arch-lint/internal/services/checker/deepscan/searcher_find_implementations.go:245 +0xec
go/ast.inspector.Visit(0x140006406c0, {0x10237eb78?, 0x140000f7b00?})
/opt/homebrew/opt/go/libexec/src/go/ast/walk.go:386 +0x38
go/ast.Walk({0x102379718?, 0x140006406c0?}, {0x10237eb78, 0x140000f7b00})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglinter-CLIAffect linter CLI program (yaml conf, terminal output)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0