Skip to content

Commit ecdfb5d

Browse files
committed
Something about the rebase changed the order of emission of notes here, perhaps?
1 parent 5faa8bf commit ecdfb5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Constraints/fixes.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ func moreComplexUnwrapFixes() {
197197
// expected-note@-2{{force-unwrap using '!'}}{{12-12=!}}
198198

199199
takeOpt(t.optS.value) // expected-error{{value of optional type 'T?' must be unwrapped to refer to member 'optS' of wrapped base type 'T'}}
200-
// expected-note@-1{{chain the optional using '?'}}{{12-12=?}}
200+
// expected-note@-1{{chain the optional using '?'}}{{17-17=?}}
201201
// expected-error@-2{{value of optional type 'S?' must be unwrapped to refer to member 'value' of wrapped base type 'S'}}
202-
// expected-note@-3{{chain the optional using '?'}}{{17-17=?}}
202+
// expected-note@-3{{chain the optional using '?'}}{{12-12=?}}
203203

204204
takeNon(t.optS.value) // expected-error{{value of optional type 'T?' must be unwrapped to refer to member 'optS' of wrapped base type 'T'}}
205-
// expected-note@-1{{chain the optional using '?'}}{{12-12=?}}
205+
// expected-note@-1{{chain the optional using '?'}}{{17-17=?}}
206206
// expected-error@-2{{value of optional type 'S?' must be unwrapped to refer to member 'value' of wrapped base type 'S'}}
207-
// expected-note@-3{{chain the optional using '?'}}{{17-17=?}}
207+
// expected-note@-3{{chain the optional using '?'}}{{12-12=?}}
208208
// expected-note@-4{{force-unwrap using '!'}}{{17-17=!}}
209209
}

0 commit comments

Comments
 (0)