Created
July 11, 2015 12:36
-
-
Save invokr/2525f16bfc2fed347192 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This works: | |
i.value.(func(*reader, *fieldpath))(r, fp) | |
// This doesn't: | |
type FieldPathOpFcn func(*reader, *fieldpath) | |
i.value.(FieldPathOpFcn)(r, fp) | |
panic: interface conversion: interface is func(*manta.reader, *manta.fieldpath), not manta.FieldPathOpFcn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment