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

Skip to content

Conversation

@orisano
Copy link
Contributor

@orisano orisano commented Jun 29, 2022

fix #339

isNilable didn't consider the case where typ is a direct interface.
So, the number of dereferencing is not correct and the function is called with an incorrect receiver address, resulting in panic.

@codecov-commenter
Copy link

Codecov Report

Merging #375 (2ea7ab6) into master (3fdc55a) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
- Coverage   79.95%   79.90%   -0.06%     
==========================================
  Files          52       52              
  Lines       17555    17561       +6     
==========================================
- Hits        14036    14032       -4     
- Misses       2951     2960       +9     
- Partials      568      569       +1     

@goccy
Copy link
Owner

goccy commented Jun 29, 2022

Thank you for contribution !! LGTM

@goccy goccy merged commit 6726210 into goccy:master Jun 29, 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.

crashed by anonymous structure field

3 participants