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" "unsafe" ) func main() { // ptr == nil && len == 0 var nilPtr...

bug
area/stdlib

Here am using 'None' to refer to the functional programming concept of an empty result. I added `interp.EmptyResult` since that is far clearer than 'None', especially to users not familiar...

enhancement
contributor/waiting-for-corrections
status/1-needs-design-review
area/core

### The following program `sample.go` triggers an unexpected result ```go type Configuration struct { Logger *zap.Logger } // GetLogger get the logger func (c *Configuration) GetLogger() *zap.Logger { return c.Logger...

This PR adds an option, `interp.Options.BlockStatementAsArray`, which configures the interpreter to return an array of results for each statement of a block, instead of just the last statement.

enhancement
status/1-needs-design-review
area/core

I am trying to interpret go code, which uses grpc (protobuf) definitions as function arguments and response. (reference: https://github.com/cs3org/go-cs3apis/blob/main/cs3/identity/user/v1beta1/resources.pb.go#L77). On running, I get following error: ``` run: reflect.Set: value of...

bug
area/core

There are too many moving parts to produce a simple POC. A custom import has a function that say returns data from a database: ```go func (h Handler) ReturnData(value interface)...

The following program `sample.go` triggers a panic: go version 1.15.3 on windows ```go package main import ( "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" "github.com/traefik/yaegi/stdlib/syscall" "github.com/traefik/yaegi/stdlib/unrestricted" "github.com/traefik/yaegi/stdlib/unsafe" ) func main() { goPath := "C:\\Users\\aihao\\go" i...

bug
area/core

Yaegi version: 0.9.17 OS: Windows 7 Mode: CLI mode Problem: if we type infinite for loop, we can't to terminate it. Ctrl + C, Ctrl + X, Ctrl + Z...

bug
area/cli

#### Proposal State in advance that my English is poor The following are all from Google Translate Support code like this: opentracing-go/propagation.go (about line 158) ``` type HTTPHeadersCarrier http.Header //...