yaegi icon indicating copy to clipboard operation
yaegi copied to clipboard

Yaegi is Another Elegant Go Interpreter

Results 173 yaegi issues
Sort by recently updated
recently updated
newest added

### The following program `sample.go` triggers an unexpected result ```go package main import ( "fmt" "github.com/traefik/yaegi/interp" ) var script = `package main import ( "fmt" ) func main() { fmt.Println("hello...

bug
area/doc

### The following program `sample.go` triggers an unexpected result ```go package main import ( "go/types" ) type B struct { } // Alignof returns the alignment of a variable of...

bug
area/core

### Proposal Currently, there's no way to automatically synchronize extracted symbols with their respective dependencies. A [go:generate](https://go.googlesource.com/proposal/+/refs/heads/master/design/go-generate.md) directive, added to the output of Yaegi generated Go files, could help with...

enhancement
area/extract
proposal

### The following program `sample.go` triggers an unexpected result ```go package main import ( "log" "github.com/bradfitz/gomemcache/memcache" ) func main() { mc := memcache.New("localhost:11211", "localhost:11212") mc.Set(&memcache.Item{Key: "foo", Value: []byte("my value")}) it,...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "fmt" "github.com/go-jose/go-jose/v3" ) func main() { fmt.Println(jose.A128GCM) } ``` ### Expected result ```console go run main.go...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import "github.com/buraksezer/olric" func main() { // do something with olric } ``` ### Expected result ```console Everything should...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "bytes" "encoding/json" "errors" "fmt" "reflect" ) func unmarshalJSON[T any](b []byte, x *[]T) error { if *x...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package int import ( "encoding/json" "fmt" "strings" "testing" ) type CollectionOfTestObject struct { Collection []TestObject } type TestObject struct {...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "flag" "github.com/golang/glog" ) func main() { flag.Parse() glog.Error("hello world") } ``` ### Expected result ```console $...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go func TestIssue1632(t *testing.T) { var j int i := interp.New(interp.Options{}) if err := i.Use(interp.Exports{ "pkg/pkg": map[string]reflect.Value{ "J": reflect.ValueOf(&j).Elem(), }, });...