Skip to content

Commit 1b5e201

Browse files
Fix typo
sophisitication > sophistication
1 parent 273ad25 commit 1b5e201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/writeback_conflict_diagnostics.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func testMultiArray(i : Int, j : Int, array : [[Int]]) {
7777
&global_array[0][i])
7878

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

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

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

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

0 commit comments

Comments
 (0)