yaegi icon indicating copy to clipboard operation
yaegi copied to clipboard

Yaegi is Another Elegant Go Interpreter

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

### The following program `sample.go` triggers an unexpected result ```go package main type B[T any] struct { data T } func (b *B[T]) SetData(data T) { b.clearData() } func (b...

### The following program `sample.go` triggers an unexpected result ```go package main func main() { var m = map[string]interface{}{ "name": "caius", } var pp interface{} pp = "abc" pp, ok...

### The following program `sample.go` triggers an unexpected result ```go import ( "github.com/zeebo/xxh3" ) ``` ### Expected result ```console // Running the plugin without errors. ``` ### Got ```console level=error...

fix: #1558 test case: ``` package main import "fmt" type A struct { } func (a A) String() string { return "String" } func (a A) GoString() string { return...

### Proposal yaegi > exit 1:28: undefined: exit > ^Ccontext canceled > fmt.Println("still not exiting") still not exiting : 18 > ### Background - Need to exit the session ###...

### Proposal - arch: [x64, arm, arm64] - os: js/wasm, wasp1/wasm, freebsd, plan9 - buildtags: faketime - Run `make tests` , go build is just not good enough "Go 1's...

wontfix

### The following program `sample.go` triggers an unexpected result ```go > fmt.Println("hey") hey : 4 > 1+2 : 3 > print(1) 1> ; > fmt.Println(1) 1 > fmt.Println("Hello World") Hello...

### The following program `sample.go` triggers an unexpected result ```go package main import ( "testing/fstest" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" ) var testFilesystem = fstest.MapFS{ "main.go": &fstest.MapFile{ Data: []byte(`package main import ( "foo/bar"...

### The following program `sample.go` triggers an unexpected result ```go package main import ( "fmt" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" ) func main() { interpreter := interp.New(interp.Options{}) interpreter.Use(stdlib.Symbols) expected := "" fmt.Printf(expected) _,...

### The following program `sample.go` triggers an unexpected result ```go package main import ( "fmt" ) type T struct { Func func(*T) } func Assert(w interface{}) error { switch v...

contributor/waiting-for-feedback