1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:34:51 -07:00
go/internal/memoize
Heschi Kreinick f128e626db internal/memoize: show key type in panics
gopls uses a lot of keys that are just strings, which print without any
type information. Include the type of the key explicitly.

Updates golang/go#41415.

Change-Id: I01cfc685184e7b44c1f562b6536f173da5ae4830
Reviewed-on: https://go-review.googlesource.com/c/tools/+/255357
Trust: Heschi Kreinick <heschi@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-09-16 18:32:40 +00:00
..
memoize_test.go internal/memoize: switch from GC-driven to explicit deletion 2020-08-10 19:02:17 +00:00
memoize.go internal/memoize: show key type in panics 2020-09-16 18:32:40 +00:00