Repository: lucy-clownfish Updated Branches: refs/heads/master 2a7728094 -> 22246a3ce
Use correct wrapper for Err subtypes. Err subtypes need to be wrapped in their specificc Go structs, not just the basic ErrIMP. Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/aea2827d Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/aea2827d Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/aea2827d Branch: refs/heads/master Commit: aea2827d53879c2b819bb6e5bdd3444f758d0c51 Parents: fde1b7d Author: Marvin Humphrey <[email protected]> Authored: Wed Dec 23 16:41:34 2015 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Mon Dec 28 11:23:50 2015 -0800 ---------------------------------------------------------------------- runtime/go/clownfish/clownfish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/aea2827d/runtime/go/clownfish/clownfish.go ---------------------------------------------------------------------- diff --git a/runtime/go/clownfish/clownfish.go b/runtime/go/clownfish/clownfish.go index 340b0b0..96bbf35 100644 --- a/runtime/go/clownfish/clownfish.go +++ b/runtime/go/clownfish/clownfish.go @@ -609,7 +609,7 @@ func (e *ErrIMP) Error() string { //export GoCfish_PanicErr_internal func GoCfish_PanicErr_internal(cfErr *C.cfish_Err) { - goErr := WRAPErr(unsafe.Pointer(cfErr)) + goErr := WRAPAny(unsafe.Pointer(cfErr)).(Err) panic(goErr) }
