Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Implement InterfaceWalker #14

Merged
merged 1 commit into from
Oct 3, 2016

Conversation

jbardin
Copy link
Contributor

@jbardin jbardin commented Oct 3, 2016

InterfaceWalker allows us to record specific interface types when
walking over chains of pointer and interfaces. The walker will record
each interface type encountered, indexed by the walk depth and number of
pointers.

Fixes both previously failing tests, and also made the second test a little more insane.

Requires reflectwalk#15

@jbardin jbardin force-pushed the jbardin/interfaceWalker branch 2 times, most recently from b03823f to 4ab9a44 Compare October 3, 2016 17:59
InterfaceWalker allows us to record specific interface types when
walking over chains of pointer and interfaces. The walker will record
each interface type encountered, indexed by the walk depth and number of
pointers.
@jbardin jbardin force-pushed the jbardin/interfaceWalker branch from 4ab9a44 to d1ea7e5 Compare October 3, 2016 18:11
@jbardin jbardin merged commit c4815f9 into mitchellh:master Oct 3, 2016
@jbardin jbardin deleted the jbardin/interfaceWalker branch October 3, 2016 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants