Larry Clapp

Results 31 issues of Larry Clapp

(Yaegi issue.) See https://github.com/gioui/gio-example/blob/d6ec266262f41bfc815c4c7bea0f33a2468f9167/kitchen/kitchen.go#L245 ```go widgets := []layout.Widget{ material.H3(th, topLabel).Layout, func(gtx C) D { gtx.Constraints.Max.Y = gtx.Px(unit.Dp(200)) return material.Editor(th, editor, "Hint").Layout(gtx) }, // ... ``` `layout.Widget` is `type Widget func(gtx...

bug
yaegi

It can be difficult to tell what line number Eval is complaining about in a large (or even a small) function. Find some way to make that more apparent. *...

enhancement

The rewriter requires several environment variables to run. That's hard to manage. Reinstate the `run` subcommand to do all that for you.

enhancement

Rewrite `main` package into `grl_main` and call `grl_main.Main()` from `main.main()`.

enhancement

See `//line` in https://golang.org/cmd/compile/#hdr-Compiler_Directives.

enhancement

Implement -O (syntax.TsUsrOwn, "file exists and is owned by the effective user id") and -G (syntax.TsGrpOwn, "file exists and is owned by the effective group id") tests, for non-Windows only....

### The following test case `TestIssue1634` in `interp/interp_eval_test.go` triggers an unexpected result ```go func TestIssue1634(t *testing.T) { TLogf := t.Logf type CPE struct { E string } type CP struct...

bug

### The following test case triggers an unexpected result ```go func TestSimilarPackageNames(t *testing.T) { const c = 300 // The error we're checking for is a heisenbug in interp.ImportUsed() that...

bug

### The following program `sample.go` triggers an unexpected result ```go n/a ``` ### Expected result ```console Error ``` ### Got ```console panic ``` ### Yaegi Version 381e045 ### Additional Notes...

bug

### The following test case in `interp/interp_eval_test.go` triggers an unexpected result ```go func TestChannelSend(t *testing.T) { ch := make(chan string, 1) var i *interp.Interpreter setup := func() { i =...

bug