Skip to content

Commit 792d7c0

Browse files
committed
[test/SourceKit/DocSupport] Fix test for @objc USR change
1 parent 093e826 commit 792d7c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SourceKit/DocSupport/doc_swift_module.swift.response

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,15 +1540,15 @@ func genfoo<T1, T2>(x ix: T1, y iy: T2) where T1 : Prot, T2 : cake.C1, T1.Elemen
15401540
{
15411541
key.kind: source.lang.swift.decl.protocol,
15421542
key.name: "P2",
1543-
key.usr: "c:objc(pl)P2",
1543+
key.usr: "c:@M@cake@objc(pl)P2",
15441544
key.offset: 711,
15451545
key.length: 53,
15461546
key.fully_annotated_decl: "<decl.protocol><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@objc</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P2</decl.name></decl.protocol>",
15471547
key.entities: [
15481548
{
15491549
key.kind: source.lang.swift.decl.function.method.instance,
15501550
key.name: "foo1()",
1551-
key.usr: "c:objc(pl)P2(im)foo1",
1551+
key.usr: "c:@M@cake@objc(pl)P2(im)foo1",
15521552
key.offset: 736,
15531553
key.length: 26,
15541554
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@objc</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>optional</syntaxtype.keyword> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>",

0 commit comments

Comments
 (0)