Xcode 9 regression: Quick help popup is broken, if the markdown contains a heading

Originator:thomas.mellenthin
Number:rdar://33156203 Date Originated:06-Jul-2017 03:27 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.0 b2 (9M137d)
Classification:Other Bug Reproducible:Always
 
Summary:
A Markdown heading in a code comment breaks the quick help popup, the quick help window does not appear when alt-clicking the type. However, the quick help in the sidebar works fine.

This is a regression, this feature works flawlessly in Xcode 8.3.x.


Steps to Reproduce:
/// 1) Have a comment that contains a heading, i.e.
///
/// # This beauty
///
/// 2) Alt-Click on “Broken” to open the quick help window.
protocol Broken {
}


Expected Results:
A quick help window appears and shows the formatted markdown.

Actual Results:
The window does not appear. However, the quick help in the sidebar shows the formatted markdown.

Version:
Xcode 9.0 b2 (9M137d)

Notes:
The attached playground contains examples that trigger the issue in Xcode 9b2.

Comments

Problem reproducible in Xcode 9.0 b3 (9M174d).

By thomas.mellenthin at July 11, 2017, 2:38 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!