#Issue: 1087
-- in.cue --
configs: {
	key: 123
}

shared: {
	param:   string
	derived: configs[param]
}

a: shared & {
	param: "key"
}
-- out/trim --
== in.cue
configs: {
	key: 123
}

shared: {
	param:   string
	derived: configs[param]
}

a: shared & {
	param: "key"
}
