Skip to content

Conversation

@tiborvass
Copy link

This patch is useful for playing with reflect. You could consider this as a bugfix, since the type checked in the type switch, was not that of the underlying type. I added a test to illustrate my point.

Since I was testing this in Go 1.6, which got stricter in terms of pointers in Cgo, I commented out some parts of the code and removed examples_test.go.

Signed-off-by: Tibor Vass teabee89@gmail.com

Signed-off-by: Tibor Vass <teabee89@gmail.com>
@bendikro bendikro mentioned this pull request Apr 10, 2019
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.

1 participant