Order of Swift standard library header should be consistent

Originator:radexpl
Number:rdar://18202155 Date Originated:
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
Summary:
At the moment, the order of function overloads and operator definitions in the generated header of the Swift std lib seems inconsistent and non-deterministic. Overloads get shuffled every time a new beta comes out, which makes it hard to diff it.

Steps to Reproduce:
Diff the generated header of Swift stdlib between two beta seeds

Expected Results:
I can clearly see what changed.

Actual Results:
The actual changes are hidden underneath a lot of noise — functions getting reordered erratically for no apparent reason.

Case in point: https://github.com/radex/swift_stdlib/compare/beta6...beta7.diff

Version:
xcode 6 beta 7

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!