Sebastien Binet

Results 256 issues of Sebastien Binet

the following fails in `ng`: ``` ng> type T struct { Name string } ng> ts := []T{{Name:"name"}} neugram: parser: panic: TODO parseStmt } (off 54) goroutine 20 [running]: runtime/debug.Stack(0x32,...

we should probably consider reusing some (all?) of the tests from the Go tree that test for correctness and Go-specs: - https://github.com/golang/go/tree/master/test

in Jupyter, when one has a cell like this: ``` In [10]: v := foo() ``` if for some reason (debugging, improvement, what-ever) you need to re-run it, it will...

the following fails in `ng`: ``` ng> 4.2/2 ng: typecheck: cannot convert untyped float to untyped integer ```

consider the following Go `pkg1`: ```go package pkg1 import "io" type reader struct { r io.Reader } func (r *reader) Read(data []byte) (int, error) { return r.r.Read(data) } func NewMyReader(r...

with `go1.10beta1`, running the following failed: ``` $> go test -v -count=3 ./eval === RUN TestExprs --- PASS: TestExprs (0.00s) [...] --- FAIL: TestPrograms/method1 (0.00s) eval_test.go:212: 25: ng eval panic:...

with `go1.10beta1`, the following fails: ``` $> go test -race ./eval --- FAIL: TestPrograms (7.69s) --- FAIL: TestPrograms/array1 (0.45s) eval_test.go:212: neugram panic: plugin: failed to open Go package "md5": plugin.Open("/tmp/ng-tmp-706103538/ng-plugin-crypto_md5"):...

`display_data` is handy to display images, PDFs, SVGs and stuff. `display_data` comes in 2 flavors: - as part of an `execute_reply` - as a standalone `display_data` message when displaying data...

right now, the jupyter kernel doesn't implement shutdown properly. it should: - listen for and respond to `shutdown_request` - close sockets when `shutdown_request.restart == false`