blob: 6e6ee9e4d0aba925d43d9a8c28ce123abc11dd79 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: interpolation
#evalPartial
-- in.cue --
a: "\(4)"
b: "one \(a) two \( a+c )"
c: "one"
d: "\(r)"
u: "\(_)"
r: _
e: "\([])"
-- out/def --
a: "4"
b: "one 4 two 4one"
c: "one"
d: "\(r)"
r: _
u: "\(_)"
e: _|_ // expression in interpolation must evaluate to a number kind or string (found list)
-- out/legacy-debug --
<0>{a: "4", b: "one 4 two 4one", c: "one", d: ""+<1>.r+"", r: _, u: ""+_+"", e: _|_([]:expression in interpolation must evaluate to a number kind or string (found list))}
-- out/compile --
--- in.cue
{
a: "\(4)"
b: "one \(〈0;a〉) two \((〈0;a〉 + 〈0;c〉))"
c: "one"
d: "\(〈0;r〉)"
u: "\(_)"
r: _
e: "\([])"
}