code: func ctyTypesEqual(oldT, newT cty.Type) bool {
  	if oldT.IsObjectType() && newT.IsObjectType() {
  		return true
  	}
  	if oldT.IsTupleType() && newT.IsTupleType() {
  		return true
  	}
  	return oldT.Equals(newT)
  }
docs: // ctyTypesEqual checks equality of two types more loosely
  // by avoiding checks of object/tuple elements
  // as we render differences on element-by-element basis anyway