Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nevkontakte
Copy link
Member

Previously we would pass an empty slice, which is against the Go spec:

If f is invoked with no actual arguments for p, the value passed to p is nil.

Source: https://go.dev/ref/spec#Passing_arguments_to_..._parameters

Fixes #1147

Previously we would pass an empty slice, which is against the Go spec:

> If f is invoked with no actual arguments for p, the value passed to p
> is nil.

Source: https://go.dev/ref/spec#Passing_arguments_to_..._parameters

Fixes gopherjs#1147
@nevkontakte nevkontakte merged commit 42157da into gopherjs:master Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reflect.DeepEqual error for empty slice and variadic

2 participants