Commits
Chris Lattner committed 8ca43451b1a
Simplify the highlighting in the subscript case of the inout writeback diagnostic to not
include the index which is confusing. For example, in:
func testMultiArray(i : Int, j : Int, var array : [[Int]]) {
swap(&array[i][j], &array[i][i])
}
we now highlight just "array[i]", instead of the subsequent "j" and "i"'s.
Swift SVN r20446