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 committed Nov 14, 2023
1 parent ad87f1e commit 30691a1
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 30691a1

Please sign in to comment.