default:
  color: "red"
  shape: "square"

development:
  shape: "triangle"

test:
  inherits: development
  color: "blue"

production:
  color: "green"
  shape: "circle"

dynamic:
  color: !expr paste("orange")
  nested:
    shape: !expr paste("circle")
    taste: !expr paste("sweet")

assigned:
  nested:
    color: "green"
    not_found: !expr paste("cyan")
    nested_color_shape: !expr paste(color, line) # "red dotted"
  color: "black"
  line: "dotted"
  color_shape: !expr paste(color, line) # "black dotted"

assigned_error:
  nested:
    color: "green"
    not_found: !expr paste("cyan")
    nested_color_shape: !expr paste(color, line) # "black dotted"
  color: "black"
  line: "dotted"
  color_shape: !expr paste(color, line) # "black dotted"
  new_color: !expr paste(color, "orange", sep = "-")
  new_nested_color: !expr paste(nested$color, "orange", sep = "-")
  new_nested_not_found: !expr paste(nested$not_found, "orange", sep = "-")

error:
  color: !expr stop("this should not be evaluated")
