-
### Description
After create a macro that adds the same name, the same type, and the same initialization value, an unknown compilation error occurs.
Because it is macro, declaring and implementi…
-
**Describe the bug**
This input makes the compiler crash:
```
protocol P {
associatedtype D
}
struct T: P {
typealias D = Int
}
extension P where Self == T {
static var t…
-
### Description
Very similar structure to #75774 but a different error with a minor change!
The provided code fails to build with `swift build -c release`. Builds fine in debug mode.
### Reproducti…
-
| | |
|------------------|-----------------|
|Previous ID | SR-15115 |
|Radar | rdar://problem/82404190 |
|Original R…
-
### Description
The following code fails to compile in release mode. (Debug mode works!)
The crash only happens when the code is in a separate module and called from a second module, executable.
…
-
### Description
I'm trying to figure out ways to reduce the necessary `-requirement-machine-max-rule-count` for [this library](https://github.com/Catterwaul/SIMDson), which currently requires 8000 …
-
### Description
The following produces a crash on godbolt's nightly build, and confusing diagnostics in Xcode 16 beta 3
### Reproduction
```swift
func f() async {
let s1: String? = ""
as…
-
A swift file with the contents:
```swift
import AK
func f(_ x: String) {}
```
Crashes the swift frontend due to ambiguity about which type "String" is referring to.
Changing the function…
-
### Description
Crash in SILGEN on closing over consuming atomic parameter when AtomicRepresentable is generic.
### Reproduction
- with macOS 15.1 Beta
- with swift as `/Library/Developer/Toolcha…
-
### Description
I am getting crash on Swift 6.0 where all works fine on 5.9, can be related to @Sendable, if Combine block is not marked inside sink as `@Sendable` and compiler not protest about it…