“rdar” links in standard library comments

I have noticed a number of comments in the standard library that reference rdar numbers.

For example in Sort.swift there are several occurrences of:

// FIXME: Remove this, it works around rdar://problem/45044610

However there does not appear to be any description of what the actual issue is, nor how those lines of code avoid it.

This makes it difficult to understand why things are implemented a certain way, and especially difficult to contribute to that part of the codebase.

• • •

What can we do to improve this situation?

13 Likes

I've filed https://bugs.swift.org/browse/SR-14750 with the details of the bug. It's marked fixed in radar, so it's likely the workarounds are not needed anymore.

2 Likes
Terms of Service

Privacy Policy

Cookie Policy