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 ( "bytes" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" "github.com/traefik/yaegi/stdlib/unrestricted" "github.com/traefik/yaegi/stdlib/unsafe" "log" "path/filepath" ) func main() { goPath, err := filepath.Abs(filepath.FromSlash("../../")) if...

contributor/waiting-for-feedback

# Timeline A timeline of this pull request has been created. - [July 5, 2023](https://github.com/traefik/yaegi/pull/1265#issuecomment-1622291308): Still waiting on unit test revision. - [Jan 22, 2023](https://github.com/traefik/yaegi/pull/1265#issuecomment-1399622094): Current state and scope of...

enhancement
status/1-needs-design-review

### The following program `sample.go` triggers an unexpected result ```go package main func main() { m := "asdf" j := m[0] println(j) } ``` ### Expected result ```console $ go...

bug
area/REPL

### The following program `sample.go` triggers an unexpected result ```go package main import "fmt" func main() { s := make([]map[string]string, 0) m := make(map[string]string) m["m1"] = "m1" m["m2"] = "m2"...

### The following program `sample.go` triggers an unexpected result ```go package main import ( "golang.org/x/text/encoding/charmap" ) func main() { e := charmap.ISO8859_1.NewEncoder() e.String("foo") } ``` ### Expected result ```console $...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "bufio" "errors" "log" "net" "net/http" "net/http/httputil" "net/url" ) type Middleware struct { next http.Handler } func...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import "github.com/go-chi/chi" func main() { router := chi.NewRouter() println("router:", router) } ``` ### Expected result ```console $ go...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "encoding/json" "fmt" ) func main() { arr := make([]interface{}, 0) arr = append(arr, []interface{}{1, 2, 3})...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "github.com/opentracing/opentracing-go" ) func main() { // add a sample } ``` ### Expected result ```console $...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "github.com/gomodule/redigo/redis" ) ``` ### Expected result ```console Can start traefik normally ``` ### Got ```console 2022/02/16...

bug
area/core