Answer stability round 1: the readField comment names both directions of the shared value, and readName drops what namedPick states

This commit is contained in:
2026-10-05 23:11:43 +02:00
committed by Lillem4n
parent 977431b1e3
commit 3a29bdb1f0
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ func TestAColumnReadingABoundColumnIsThatColumn(t *testing.T) {
}
}
func TestAFreshReadInsideANamedPickReadsNoneOfThePick(t *testing.T) {
func TestAFreshReadInsideANamedPickSharesNoValueWithIt(t *testing.T) {
f := engine(5)
src := `{"format":"{w as p}{p.a}|{p.a.b}","w":{"format":"{a}","a":{"format":"{c}|{b}","b":["1","2","3"],"c":{"format":"{b}","b":["x","y","z"]}}}}`
want := regexp.MustCompile(`^[xyz]\|([123])\|([123])$`)