Skip to content

Commit bd12fd8

Browse files
committed
[Test] Update fix-it range for test case
1 parent 185d3bc commit bd12fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sema/immutability.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ struct SomeStruct {
159159
return 42
160160
}
161161
nonmutating
162-
set { // expected-note {{mark accessor 'mutating' to make 'self' mutable}} {{5-5=mutating }}
162+
set { // expected-note {{mark accessor 'mutating' to make 'self' mutable}} {{5-16=mutating}}
163163
iv = newValue // expected-error {{cannot assign to property: 'self' is immutable}}
164164
}
165165
}

0 commit comments

Comments
 (0)