Skip to content

Commit 40df0c4

Browse files
committed
Remove unnecessary check from cursor info keypath member lookup test
This test baked in an incorrect USR from a bug that has since been fixed. But we don't really need to check this anyway, so remove it.
1 parent 2ee24ac commit 40df0c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/SourceKit/CursorInfo/cursor_info_keypath_member_lookup.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func test(r: Lens<Rectangle>) {
3030
// SUBSCRIPT: source.lang.swift.decl.function.subscript (18:3-18:12)
3131
// SUBSCRIPT: subscript(dynamicMember:)
3232
// SUBSCRIPT: <T, U> (dynamicMember: WritableKeyPath<T, U>) -> Lens<U>
33-
// SUBSCRIPT: <decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>&lt;<decl.generic_type_param usr="s:33cursor_info_keypath_member_lookup4LensV1UL_qd__mfp"><decl.generic_type_param.name>U</decl.generic_type_param.name></decl.generic_type_param>&gt;(<decl.var.parameter><decl.var.parameter.argument_label>dynamicMember</decl.var.parameter.argument_label> <decl.var.parameter.name>member</decl.var.parameter.name>: <decl.var.parameter.type><ref.class usr="s:s15WritableKeyPathC">WritableKeyPath</ref.class>&lt;<ref.generic_type_param usr="s:33cursor_info_keypath_member_lookup4LensV1Txmfp">T</ref.generic_type_param>, <ref.generic_type_param usr="s:33cursor_info_keypath_member_lookup4LensV1UL_qd__mfp">U</ref.generic_type_param>&gt;</decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr="s:33cursor_info_keypath_member_lookup4LensV">Lens</ref.struct>&lt;<ref.generic_type_param usr="s:33cursor_info_keypath_member_lookup4LensV1UL_qd__mfp">U</ref.generic_type_param>&gt;</decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> <syntaxtype.keyword>set</syntaxtype.keyword> }</decl.function.subscript>
3433
// SUBSCRIPT: ACTIONS BEGIN
3534
// FIXME: should not allow rename since that would break the contract.
3635
// SUBSCRIPT: source.refactoring.kind.rename.global

0 commit comments

Comments
 (0)