Matthew Sackman

Results 11 issues of Matthew Sackman

### What version of CUE are you using (`cue version`)? 2f19b1a709a724cd5cb0aca19769e6ad7bd2efd6 ### Does this issue reproduce with the latest stable release? Yes, eval v2 and v3 show this ### What...

NeedsVerification
WorkingAsIntended
evaluator

### What version of CUE are you using (`cue version`)? commit 8145bdd3b238d888870ec43955137121eba07e89 ### What did you do? ``` exec cue export list.cue -- list.cue -- _self: { x: [...and(x)] }...

NeedsFix
cycle
evaluator

### What version of CUE are you using (`cue version`)? 40eed232168c38e4603d9a964a90189c17277b6d ### What did you do? ``` _t3: { repeater: L={L.a} data: M={a: a: M} out: repeater & data }...

NeedsFix
NeedsInvestigation
Triage

### What version of CUE are you using (`cue version`)? commit 8145bdd3b238d888870ec43955137121eba07e89 ### What did you do? ``` exec cue eval list.cue -- list.cue -- a: { for _, e...

NeedsInvestigation
Triage

### What version of CUE are you using (`cue version`)? bb24c7ce1f048a01cba5ae7dcfe0813e127cfd42 ### What did you do? ``` env CUE_EXPERIMENT=evalv3 exec cue export ./foo.cue -- foo.cue -- r: L=L.a d: a:...

NeedsInvestigation
Triage
panic
evaluator

By running `cue eval` and `cue export` with `CUE_EXPERIMENT=toposort`, you enable the new "topological sorting" algorithm. This can be combined with other experimental flags, e.g. `CUE_EXPERIMENT=toposort,evalv3`. EDIT: Since v0.12.0-alpha.2, "toposort"...

https://cuelang.org/docs/reference/modules/#module-path states: > A module path is the canonical name for a module, declared with the module field in the module’s cue.mod/module.cue file. A module’s path is the prefix for...

Documentation
NeedsInvestigation
modules

As discovered and discussed in https://review.gerrithub.io/c/cue-lang/cue/+/1202688/ the openapi generation seems to be constructing structlits with decls in some unsorted order. The new toposort algorithm always honours the order of decls...

NeedsInvestigation
jsonschema / openapi
encoding

As requested on slack, you often want to transform: ``` x: y: 3 ``` into ``` x: { y: 3 } ``` and vice versa. Figure out how to do...

FeatureRequest
lsp

Currently, on the first load of a cue file, we'll find the module root, and that cue file's package, and we'll issue one call to `modpkgload`. This single call loads...

lsp