1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
-- cue.mod/module.cue --
module: "x.test"
language: version: "v0.13.0"
-- off.cue --
off: __test_experiment("off")
-- on.cue --
@experiment(testing)
on: __test_experiment("on")
-- out/compile --
--- off.cue
{
off: testExperiment("off")
}
--- on.cue
{
on: testExperiment("on")
}
-- out/eval/stats --
Leaks: 0
Freed: 3
Reused: 1
Allocs: 2
Retain: 0
Unifications: 3
Conjuncts: 4
Disjuncts: 3
-- out/eval --
Errors:
off: testing experiment disabled:
./off.cue:1:6
Result:
(_|_){
// [eval]
off: (_|_){
// [eval] off: testing experiment disabled:
// ./off.cue:1:6
}
on: (string){ "on" }
}
|