Replies: 2 comments 3 replies
-
Possibly at play here is #1163 The first option of your disjunction is a subset of the second. CUE sees two disjunctions i think, i.e. there are four from the port with default cross product the structs, but this may be a bug? I would expect this to resolve. You may be able to close each part of the disjunction to get the effect you want? I believe close does not work recursively like a definition does. |
Beta Was this translation helpful? Give feedback.
-
This looks like a bug to me, not least because the definition "equivalent" works as expected. Here is a slightly simpler reproducer including the working definition equivalent, ruling out a couple of aspects that might have influenced behaviour:
gives:
From the error message it appears that the default of the disjunction is being selected "too early" for Quite possibly related however is the following:
which gives:
The error for @j-maxi I would suggest using a definition in the meantime, and I will raise an issue for this.
Which disjunctions are you referring to here? I'm not seeing that, and in any case a default selector is being used in both disjunctions (which would eliminate any ambiguity if there was some, but there isn't to my mind). Because |
Beta Was this translation helpful? Give feedback.
-
I am wondering why this doesn't work. I want to have
default.parameters
closed to prevent adding a new field and declare some default parameters using disjunctions.I got an error when I run
cue eval
as fllows.Beta Was this translation helpful? Give feedback.
All reactions