Timeouts
phoenix2x opened this issue · comments
package main
type test struct {
}
func (t test) Test() test {
return t
}
func main() {
_ = test{}.
Test().Test().Test().Test().Test().Test().Test().Test().Test().Test().
Test().Test().Test().Test().Test().Test().Test().Test().Test().Test().
Test().Test().Test().Test().Test().Test().Test().Test().Test().Test().
Test().Test()
}
For the code above linter runs for 40s, when adding couple more calls to Test() it eventually timeouts with error:
golangci-lint run --disable-all -E ifshort
ERRO Timeout exceeded: try increasing it by passing --timeout option