Skip to content

Commit ca93fa6

Browse files
committed
[SourceKit] DocInfo: Explicitly report the optionality of protocol members in response. rdar://25129725
1 parent b985794 commit ca93fa6

File tree

7 files changed

+153
-87
lines changed

7 files changed

+153
-87
lines changed

test/SourceKit/DocSupport/Inputs/cake.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,9 @@ public extension S1 {
4646
public struct S2 {
4747
public let b = 1
4848
}
49-
}
49+
}
50+
51+
@objc
52+
public protocol P2 {
53+
optional func foo1()
54+
}

0 commit comments

Comments
 (0)