blob: bc1c2d8e82b10a7f98181f7f93dfe0228ac2de24 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
raw: true
-- in.cue --
{a: >=0 & <=10, b: "Count: \(a) times"}
-- out/def --
a: >=0 & <=10
b: "Count: \(a) times"
-- out/compile --
--- in.cue
{
{
a: (>=0 & <=10)
b: "Count: \(怈0;a怉) times"
}
}
-- out/eval --
Errors:
invalid interpolation: cannot use >=0 & <=10 (type number) as type string:
./in.cue:1:20
Result:
(_|_){
// [eval]
a: (number){ &(>=0, <=10) }
b: (_|_){
// [eval] invalid interpolation: cannot use >=0 & <=10 (type number) as type string:
// ./in.cue:1:20
}
}