message-size-increase #3

Merged
sashakoshka merged 227 commits from message-size-increase into main 2025-09-07 19:27:38 -06:00
Showing only changes of commit 2a4e88d949 - Show all commits

View File

@ -68,9 +68,11 @@ func DecodeAny(decoder *Decoder, destination any, tag Tag) (n int, err error) {
func decodeAny(decoder *Decoder, destination reflect.Value, tag Tag) (n int, err error) { func decodeAny(decoder *Decoder, destination reflect.Value, tag Tag) (n int, err error) {
errWrongDestinationType := func(expected string) error { errWrongDestinationType := func(expected string) error {
// panic(fmt.Errorf(
return fmt.Errorf( return fmt.Errorf(
"expected &%s destination, not %v", "expected %s destination, not %v",
expected, destination) expected, destination)
//)
} }
if destination.Kind() != reflect.Pointer { if destination.Kind() != reflect.Pointer {