cueckoo

Results 280 comments of cueckoo

_Original reply by @eonpatapon in https://github.com/cuelang/cue/issues/543#issuecomment-700521555_ > > But it's not clear to me why `...` would allow only regular fields. With `...` in the def you can have same...

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/543#issuecomment-700861359_ @eonpatapon > What's the advantage of declaring #limit in #E ? Sometimes one has to. Maybe a more concrete example would be the following...

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/543#issuecomment-700864852_ @eonpatapon > "I'm just thinking that the meaning of ... would not be trivial to grasp as it would imply: any regular field, no...

_Original reply by @myitcv in https://github.com/cuelang/cue/issues/543#issuecomment-760138574_ Re-opening because there was a partial revert in https://cue-review.googlesource.com/c/cue/+/8201

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/629#issuecomment-758998592_ Like with Go, one should distinguish a reference from a selector. A missing reference, the first `y` in this case, is a unrecoverable compile-time...

_Original reply by @myitcv in https://github.com/cuelang/cue/issues/629#issuecomment-759223468_ > Like with Go, one should distinguish a reference from a selector. Indeed, which is why I included all three, as a compare and...

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/629#issuecomment-759305163_ > I can see how it being something a linter would catch might indeed make sense (given as you say it is valid CUE)....

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/629#issuecomment-759310883_ FTR: internally, CUE marks `s.y` as an `incomplete` error (could be resolved by making a configuration more concrete) and `#def.y` as an `eval` error...

_Original reply by @myitcv in https://github.com/cuelang/cue/issues/629#issuecomment-848866664_ @mpvl I suggest we at least consider this for `v0.5.0` - thoughts?

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/86#issuecomment-527239546_ No, but there is an excellent Go to JS transpiler (GopherJS). I tried it a while back and it works great for CUE. So...