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

panic: panic in Call: interface conversion: interp.Ivalue is <not as expected> #6

Open
elliott5 opened this issue Jul 29, 2017 · 0 comments

Comments

@elliott5
Copy link
Contributor

Reported via e-mail by: Cristian Adamo from Argentina:

When I run the test some fail and we used in my code I can't get rid of errors like this

panic: panic in Call: interface conversion: interp.Ivalue is uint64, not *interp.Ivalue
panic: panic in Call: interface conversion: interp.Ivalue is uintptr, not uint64
panic: panic in Call: interface conversion: interp.Ivalue is *[]int32, not *interp.Ivalue

Reply:

I'm afraid it is rather out of date now Cristian, with both the new versions of Go and (most likely for those errors) changes to the ssa package.

You could always start by using the interpreter in the ssa package itself - https://godoc.org/golang.org/x/tools/go/ssa/interp

The ssainterp package is just a faster version of that (by speeding up the interpretation).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant