Minimal example:
X = {
s : string;
};
Y = {
x : X;
};
y1 = Y {
x = {
};
};
y2 = Y {
x = X {
};
};
When evaluating y1, I get the following:
When evaluating y2: Unknown key: 's' in composite tuple {s = <unbound>} {}
The expected behavior is that for non-required fields one can instantiate tuples without filling in those fields. Also by this logic x : required X should be different from x : X.
Minimal example:
When evaluating y1, I get the following:
When evaluating y2:
Unknown key: 's' in composite tuple {s = <unbound>} {}The expected behavior is that for non-required fields one can instantiate tuples without filling in those fields. Also by this logic
x : required Xshould be different fromx : X.