#name: dont pass incomplete values to builtins
#evalFull
-- in.cue --
import "encoding/json"

input: string
foo:   json.Marshal(input)
-- out/compile --
--- in.cue
{
  input: string
  foo: 〈import;"encoding/json"〉.Marshal(〈0;input〉)
}
