google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.3k stars 209 forks source link

Add special case error for slice index, which overflows int #305

Closed tdakkota closed 3 years ago

tdakkota commented 3 years ago

Fixes #169.

tdakkota commented 3 years ago

Done. Also, I changed %s to %w.

UPD So, I see CI is failed due to the old Go version which does not support %w verb, I changed it back to %s.