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 ( "github.com/casbin/casbin/v2" ) func main() { e, err := casbin.NewEnforcer("./examples/rbac_with_pattern_model.conf", "./examples/rbac_with_pattern_policy.csv") if err != nil { panic(err)...

### Proposal Given code such as ```go package main import "github.com/traefik/yaegi/interp" const src = `package foo func Bar(s string) string { return s + "-Foo" }` func main() { i...

enhancement
area/api
proposal

The following program `thrift_script.go` triggers a panic: ```go package main import ( "context" "github.com/apache/thrift/lib/go/thrift" ) func Invoke(ctx context.Context, iproto thrift.TProtocol, oproto thrift.TProtocol) error { return nil } func main() {...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main import ( "fmt" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" ) const definition = ` package desc const desc = "Hello, world" `...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go package main type Number int32 type Number1 = Number type Number2 = Number1 func (n Number2) IsValid() bool { return...

bug
area/core

### The following program `sample.go` triggers an unexpected result ```go // modified from interp/interp_export_test.go package interp_test import ( "reflect" "testing" "github.com/traefik/yaegi/interp" ) type Helloer interface { Hello() Active() bool }...

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

### The following program `sample.go` triggers an unexpected result ```go package script import ( "fmt" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" "testing" ) var ( src2 = ` package plugins_test import "fmt" type Test...

I am trying to use Yaegi to run Golang code that contains 3rd party library called: github.com/tidwall/pretty You wrote here https://github.com/containous/yaegi/issues/469 that it is possible: > It's also possible to...

question
contributor/waiting-for-feedback
os/windows

### The following program `sample.go` triggers an unexpected result ```go package main import ( "some_pkg" ) type SomeStruct struct{ SomeField some_pkg.Unknown_Ident } func main() { } ``` ### Expected result...

contributor/need-more-information