Skip to content

Commit

Permalink
Merge pull request swiftlang#120 from fabriziodemaria/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
tkremenek committed Dec 4, 2015
2 parents 8402df2 + 1b5e201 commit 3de382e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/SILGen/writeback_conflict_diagnostics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func testMultiArray(i : Int, j : Int, array : [[Int]]) {
&global_array[0][i])

// TODO: This is obviously the same writeback problem, but isn't detectable
// with the current level of sophisitication in SILGen.
// with the current level of sophistication in SILGen.
swap(&array[1+0][j], &array[1+0][i])

swap(&global_array[0][j], &array[j][i]) // ok
Expand Down Expand Up @@ -105,7 +105,7 @@ func testMultiArrayWithoutAddressors(
&global_array_without_addressors[0][i]) // expected-error {{inout writeback through subscript occurs in multiple arguments to call, introducing invalid aliasing}}

// TODO: This is obviously the same writeback problem, but isn't detectable
// with the current level of sophisitication in SILGen.
// with the current level of sophistication in SILGen.
swap(&array[1+0][j], &array[1+0][i])

swap(&global_array_without_addressors[0][j], &array[j][i]) // ok
Expand Down

0 comments on commit 3de382e

Please sign in to comment.