Skip to content

Commit

Permalink
Update Any documentation to point at go compiler stack reuse issue (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbbit authored Nov 14, 2023
1 parent ad87f1e commit f69ffe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions field.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ func (d dictObject) MarshalLogObject(enc zapcore.ObjectEncoder) error {
// - https://github.com/uber-go/zap/pull/1304
// - https://github.com/uber-go/zap/pull/1305
// - https://github.com/uber-go/zap/pull/1308
//
// See https://github.com/golang/go/issues/62077 for upstream issue.
type anyFieldC[T any] func(string, T) Field

func (f anyFieldC[T]) Any(key string, val any) Field {
Expand Down

0 comments on commit f69ffe3

Please sign in to comment.