From 4dd49bdc1053f0a14ab14315945d08f4969d59fe Mon Sep 17 00:00:00 2001 From: Ryan Bullock Date: Wed, 22 May 2024 09:23:31 -0700 Subject: [PATCH] Remove limit on operator overload resolution --- checker/checker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checker/checker.go b/checker/checker.go index f191c30a..cef2c012 100644 --- a/checker/checker.go +++ b/checker/checker.go @@ -22,7 +22,7 @@ func ParseCheck(input string, config *conf.Config) (*parser.Tree, error) { } if len(config.Visitors) > 0 { - for i := 0; i < 1000; i++ { + for { more := false for _, v := range config.Visitors { // We need to perform types check, because some visitors may rely on