Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested use of gvar can lead to a panic error. #2951

Closed
xwatsonmai opened this issue Sep 10, 2023 · 0 comments · Fixed by #2953
Closed

Nested use of gvar can lead to a panic error. #2951

xwatsonmai opened this issue Sep 10, 2023 · 0 comments · Fixed by #2953

Comments

@xwatsonmai
Copy link

data := gvar.New(gvar.New("asd")) data.IsMap()
panic: reflect: call of reflect.Value.Elem on struct Value [recovered]
panic: reflect: call of reflect.Value.Elem on struct Value

painc in /github.com/gogf/gf/v2@v2.5.2/internal/utils/utils_is.go:75

image
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 a pull request may close this issue.

1 participant