Daniel Martí

Results 1731 comments of Daniel Martí

This is probably because `[...int]` defaults to the empty list, and so `net.IP` tries to validate that empty list. Could you explain why are you trying to evaluate a regular...

Note that required fields are likely affected by this as well. And when the query extension is added (https://github.com/cue-lang/cue/issues/165) we will need to be careful with this as well.

Assigning to myself to attempt to reduce this a bit further. As of 860906a7f025d8ea766aa29623c4ce4381740f89, evalv2 seems to give an error similar to https://github.com/cue-lang/cue/issues/3511, although that was an evalv3 regression, and...

@b4nst what exactly are you running? With `cue export` with the old evaluator as per the testscript below, I get the same `cycle error` failure on master, v0.11.0-alpha.3, v0.10.0, and...

OK thank you. Is there a particular reason you would usually `cue eval`, or is it only for the sake of this bug report? I would typically want to reproduce...

Understood, thank you. > It seems it makes CUE going OOM with `evalv3`, and not only when there's a cycle error (I experienced it on code base where evalv2 was...

Thank you for trying and for following up. We'll still try to investigate and resolve this issue as soon as we are able to. We are aware of other similar...

Worth noting that gopls does this as a separate "organize imports" code action; I'm not sure if there was a strong reason to separate that from the regular "format" operation.

Worth saying outloud that one of the biggest use cases for `go list` is with the `--json` flag, where it shows package (or module) information in a structured JSON format....