Skip to content
This repository was 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

@elliott5

Description

@elliott5

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions