Skip to content

Commit 09a9a61

Browse files
committed
docs: Migrate from SR issues to GitHub issues
1 parent bf9b4e3 commit 09a9a61

File tree

7 files changed

+63
-65
lines changed

7 files changed

+63
-65
lines changed

docs/ABIStabilityManifesto.md

Lines changed: 34 additions & 34 deletions
Large diffs are not rendered by default.

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ This status table describes which of the following C++ language features can be
7676
| Typedefs / Type aliases | Yes |
7777
| Global Variables | Yes |
7878
| Namespaces | Yes |
79-
| Inline Namespaces | Yes, with some known issues (https://bugs.swift.org/browse/SR-15956) |
79+
| Inline Namespaces | Yes, with some known issues ([#58217](https://github.com/apple/swift/issues/58217)) |
8080
| Exceptions | No |
8181
| Fields | Yes |
8282
| Member functions | Yes. Some value category overloads aren't imported |
@@ -120,7 +120,7 @@ This status table describes which of the following C++ standard library features
120120
## Known Issues
121121

122122
### Inline Namespaces
123-
- https://bugs.swift.org/browse/SR-15956: Swift's typechecker currently doesn't allow calling a function from an inline namespace when it's referenced through the parent namespace. Example of a test that fails: https://github.com/apple/swift/blob/main/test/Interop/Cxx/namespace/inline-namespace-function-call-broken.swift
123+
- [#58217](https://github.com/apple/swift/issues/58217): Swift's typechecker currently doesn't allow calling a function from an inline namespace when it's referenced through the parent namespace. Example of a test that fails: https://github.com/apple/swift/blob/main/test/Interop/Cxx/namespace/inline-namespace-function-call-broken.swift
124124

125125

126126
## Swift to C++ Interoperability Status

docs/Driver.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,8 @@ The output file map accepts other entries, but they should not be considered
167167
stable. Please stick to what's shown here.
168168

169169
(Note: In the example output file map above, all of the per-file outputs are
170-
being emitted to the same directory. [SR-327][] covers adding a flag that would
171-
infer this behavior given a directory path.)
172-
173-
[SR-327]: https://bugs.swift.org/browse/SR-327
170+
being emitted to the same directory. [#42949](https://github.com/apple/swift/issues/42949)
171+
covers adding a flag that would infer this behavior given a directory path.)
174172

175173

176174
## Whole-Module Optimization ##
@@ -286,9 +284,10 @@ past that, so:
286284
import later.
287285

288286
If you want debugging that's more than `-gline-tables-only`, this is the
289-
only supported way to do it today. ([SR-2637][] and [SR-2660][] are aimed
290-
at improving on this.) On the plus side, this mode doesn't strictly need
291-
an output file map if you give up incremental builds.
287+
only supported way to do it today [apple/llvm-project#4588](https://github.com/apple/llvm-project/issues/4588)
288+
and [#45265](https://github.com/apple/swift/issues/45265) are aimed at
289+
improving on this). On the plus side, this mode doesn't strictly need an
290+
output file map if you give up incremental builds.
292291

293292
- Invoke `swiftc -c`, then pass the resulting object files to your linker.
294293
All the same options from above apply, but you'll have to manually deal
@@ -302,10 +301,8 @@ past that, so:
302301
_Can I link all the object files together in the same binary, even if they came
303302
from multiple modules?_
304303

305-
This is not currently supported, and debugging probably won't work. (See
306-
[SR-2637][] and [SR-2660][] for more details.) However, if you are using
307-
`-gnone` or `-gline-tables-only`, the worst you will suffer is more symbols
308-
being visible than are strictly necessary.
309-
310-
[SR-2637]: https://bugs.swift.org/browse/SR-2637
311-
[SR-2660]: https://bugs.swift.org/browse/SR-2660
304+
This is not currently supported, and debugging probably won't work (see
305+
[apple/llvm-project#4588](https://github.com/apple/llvm-project/issues/4588) and
306+
[#45265](https://github.com/apple/swift/issues/45265) for more details).
307+
However, if you are using `-gnone` or `-gline-tables-only`, the worst you will
308+
suffer is more symbols being visible than are strictly necessary.

docs/DynamicCasting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ let a = NSNumber()
665665
print(a is Any)
666666
```
667667

668-
* SR-2289: CF types cannot be cast to protocol existentials
668+
* [#44896](https://github.com/apple/swift/issues/44896): CF types cannot be cast to protocol existentials
669669

670670
```
671671
import Foundation
@@ -680,7 +680,7 @@ extension CFBitVector : P {
680680
print(CFBitVector.makeImmutable(from: [10,20]) is P)
681681
```
682682

683-
* SR-4552: Cannot cast `Optional<T> as Any` to protocol type. Note that this is a particular problem for reflection with weak fields, since `Mirror` reflects those as `Any` containing an `Optional` value.
683+
* [#47129](https://github.com/apple/swift/issues/47129): Cannot cast `Optional<T> as Any` to protocol type. Note that this is a particular problem for reflection with weak fields, since `Mirror` reflects those as `Any` containing an `Optional` value.
684684

685685
```
686686
protocol P {}
@@ -692,7 +692,7 @@ let a = c as? Any
692692
print(a is P)
693693
```
694694

695-
* SR-8964: `Any` containing `Optional<Any>` cannot cast to `Error`
695+
* [#51469](https://github.com/apple/swift/issues/51469): `Any` containing `Optional<Any>` cannot cast to `Error`
696696

697697
```
698698
struct MyError: Error { }
@@ -703,10 +703,10 @@ let b: Any = a
703703
print(b is Error)
704704
```
705705

706-
* SR-6126: Inconsistent results for nested optionals
706+
* [#48681](https://github.com/apple/swift/issues/48681): Inconsistent results for nested optionals
707707

708708
```
709-
// Note: SR-6126 includes many cases similar to the following
709+
// Note: This issue includes many cases similar to the following
710710
let x: Int? = nil
711711
print(x as Int??) // ==> "Optional(nil)"
712712
// Swift 5.3: prints "nil"
@@ -730,7 +730,7 @@ let a = NSObjectProtocol.self
730730
print(a is NSObjectProtocol.Type)
731731
```
732732

733-
* SR-1999: Cannot cast `Any` contents to a protocol type
733+
* [#44608](https://github.com/apple/swift/issues/44608): Cannot cast `Any` contents to a protocol type
734734

735735
```
736736
protocol P {}

docs/GenericsManifesto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There are a number of restrictions to the use of generics that fall out of the i
2727

2828
### Recursive protocol constraints (*)
2929

30-
*This feature has been accepted in [SE-0157](https://github.com/apple/swift-evolution/blob/main/proposals/0157-recursive-protocol-constraints.md) and is tracked by [SR-1445](https://bugs.swift.org/browse/SR-1445).*
30+
*This feature has been accepted in [SE-0157](https://github.com/apple/swift-evolution/blob/main/proposals/0157-recursive-protocol-constraints.md) and is tracked by [#44054](https://github.com/apple/swift/issues/44054).*
3131

3232
Currently, an associated type cannot be required to conform to its enclosing protocol (or any protocol that inherits that protocol). For example, in the standard library `SubSequence` type of a `Sequence` should itself be a `Sequence`:
3333

@@ -43,7 +43,7 @@ The compiler currently rejects this protocol, which is unfortunate: it effective
4343

4444
### Nested generics
4545

46-
*This feature was tracked by [SR-1446](https://bugs.swift.org/browse/SR-1446) and was released with Swift 3.1.*
46+
*This feature was tracked by [#44055](https://github.com/apple/swift/issues/44055) and was released with Swift 3.1.*
4747

4848
Currently, a generic type cannot be nested within another generic type, e.g.
4949

@@ -57,7 +57,7 @@ There isn't much to say about this: the compiler simply needs to be improved to
5757

5858
### Concrete same-type requirements
5959

60-
*This feature was tracked by [SR-1009](https://bugs.swift.org/browse/SR-1009) and was released with Swift 3.1.*
60+
*This feature was tracked by [#43621](https://github.com/apple/swift/issues/43621) and was released with Swift 3.1.*
6161

6262
Currently, a constrained extension cannot use a same-type constraint to make a type parameter equivalent to a concrete type. For example:
6363

@@ -114,7 +114,7 @@ Note: generic associatedtypes address many use cases also addressed by higher-ki
114114

115115
### Generic subscripts
116116

117-
*This feature has been accepted in [SE-0148](https://github.com/apple/swift-evolution/blob/main/proposals/0148-generic-subscripts.md), was tracked by [SR-115](https://bugs.swift.org/browse/SR-115) and was released with Swift 4.*
117+
*This feature has been accepted in [SE-0148](https://github.com/apple/swift-evolution/blob/main/proposals/0148-generic-subscripts.md), was tracked by [#42737](https://github.com/apple/swift/issues/42737) and was released with Swift 4.*
118118

119119
Subscripts could be allowed to have generic parameters. For example, we could introduce a generic subscript on a `Collection` that allows us to pull out the values at an arbitrary set of indices:
120120

docs/HowToGuides/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ toolchain as a one-off, there are a couple of differences:
8585
**Note:** If you've already forked the project on GitHub at this stage,
8686
**do not clone your fork** to start off. We describe
8787
[how to setup your fork](#setting-up-your-fork) in a subsection below.
88-
<!-- Recommending against cloning the fork due to SR-13476 and SR-13505. -->
88+
<!-- Recommending against cloning the fork due to https://github.com/apple/swift/issues/55918 and https://github.com/apple/swift/issues/55947. -->
8989
3. Double-check that `swift`'s sibling directories are present.
9090
```sh
9191
ls ..

docs/StringManifesto.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,11 @@ domain-specific language (just write ordinary swift code!) and its type safety
10221022
problems (put the data right where it belongs!) but the following issues prevent
10231023
it from being useful for localized formatting (among other jobs):
10241024

1025-
* [SR-2303](https://bugs.swift.org/browse/SR-2303) We are unable to restrict
1026-
types used in string interpolation.
1027-
* [SR-1260](https://bugs.swift.org/browse/SR-1260) String interpolation can't
1028-
distinguish (fragments of) the base string from the string substitutions.
1025+
* [#44910](https://github.com/apple/swift/issues/44910): We are unable to
1026+
restrict types used in string interpolation.
1027+
* [#43868](https://github.com/apple/swift/issues/43868): String interpolation
1028+
can't distinguish (fragments of) the base string
1029+
from the string substitutions.
10291030

10301031
In the long run, we should improve Swift string interpolation to the point where
10311032
it can participate in most any formatting job. Mostly this centers around

0 commit comments

Comments
 (0)