yaegi icon indicating copy to clipboard operation
yaegi copied to clipboard

panic: reflect.Value.Call: call of nil function

Open duj4 opened this issue 4 months ago • 0 comments

The following program sample.go triggers an unexpected result

package main

func main() { cmap.Upsert() }

Expected result

There should be no error coming out.

Got

Error like "panic: reflect.Value.Call: call of nil function" posted, which caused the pod reboot.

Yaegi Version

0.16.1

Additional Notes

I am writing a Traefik plugin with https://github.com/orcaman/concurrent-map/tree/v1.0.0 imported. However, error like below posted while it is running for while:

Image

Code snippet is as below: Image

duj4 avatar Oct 14 '24 14:10 duj4