constraints missing from typealiases in generated interface
Originator: | julian.dunskus | ||
Number: | rdar://44584813 | Date Originated: | 19-Sep-2018 02:46 AM |
Status: | Resolved | Resolved: | resolved in newest snapshot as of sep 27 |
Product: | iOS + SDK | Product Version: | 10.0 |
Classification: | Other Bug | Reproducible: | Always |
Summary: The generated interface shown for some stdlib types (i’ve only looked at CountableRange at this point) is missing integral type constraints. Steps to Reproduce: 1. use `CountableRange` as a type anywhere 2. cmd-ctrl-click it to show the definition, getting redirected to Swift > Collection 3. note that there are no constraints whatsoever Expected Results: The constraints, as seen here: https://github.com/apple/swift/blob/61ac13b86d1f66c5ca9e067de9e3a51cdc6e0ef7/stdlib/public/core/Range.swift#L895-L896 Actual Results: no constraints, as shown in the attached screenshot. just `public typealias CountableRange<Bound> = Range<Bound>` Version: 10.0 Notes:
Comments
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!