Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778# Issue #4051-- issue4051.cue --// Must be at root to cause problem(N): [{ f1: f2: N }]let N = xx: "s"-- out/doc --[][N][x][s]- Must be at root to cause problem[s 0][s 0 f1][s 0 f1 f2]-- out/value --== Simplified{ // Must be at root to cause problem s: [{ f1: { f2: "s" } }] x: "s"}== Raw{ // Must be at root to cause problem s: [{ f1: { f2: "s" } }] x: "s"}== Final{ s: [{ f1: { f2: "s" } }] x: "s"}== All{ // Must be at root to cause problem s: [{ f1: { f2: "s" } }] x: "s"}== Eval{ s: [{ f1: { f2: "s" } }] x: "s"}-- out/definition --let N = x// Must be at root to cause problem(N): [{ f1: { f2: N }}]x: "s"