tdakkota

Results 42 issues of tdakkota

Changes proposed in this pull request: - Adds `ForEachB(cb func(LValue, LValue) bool)` func to `LTable`, which stops when callback returns false

Adds methods for `uint`.

https://core.telegram.org/mtproto/description#using-mtproto-2-0-instead-of-mtproto-1-0

`typeUnparen` reports `could simplify (func()) to func()`, but `func() (nil)` is invalid function literal and definitely is not the same expression. Reproducer: ```go package yaml func _() { _ =...

bug

Package [`golang.org/x/tools/go/loader`](https://pkg.go.dev/golang.org/x/tools/go/loader) is deprecated. This PR uses special package [`golang.org/x/tools/go/analysis`](https://pkg.go.dev/golang.org/x/tools/go/analysis) for creating linters. It supports Go modules. I tried to write a test using [`analysistest`](https://pkg.go.dev/golang.org/x/tools/go/analysis/analysistest), but Go modules in testdata...