title: SwappedSliceIndices layout: article

SwappedSliceIndices occurs when constant indices in a slice expression
are decreasing in value.

Example:
 var _ = []int{1,2,3}[2:1]