-
### Description
when conforming a type to a protocol that has marked a method with `@differentiable` I get a crash.
### Reproduction
```swift
import _Differentiation
struct Wrapper {
…
-
```
Version of flang-new : 20.0.0(357bd61744bb8cc2b9b07447294fa977e5758550/AArch64
```
When `type` is defined in module by using `derived type` with the same name from another module, a compilati…
-
### Description
Using both the new and older driver results in unhandled output modes.
```
$ swiftc -emit-supported-features
SwiftDriver/Driver.swift:2116: Fatal error: unhandled output mode opt…
-
### Description
I have a C++ `std::function` (a `std::function` **with arguments**) which I want to wrap in a nice Swift closure (`(Double) -> Void`), to be able to call it later.
The C++ `std::…
-
Building OT code w/ --mabi=cheriot (i.e. NO baremetal) trips an assert. Attached are the artifacts to repro. Below is the stack trace+context from running the compiler under gdb. Looks to be a side-ef…
-
### Description
When a custom trait takes a closure as an argument, the compiler crashes when the trait is used with `@Test`.
### Expected behavior
I expect the compiler to not crash, and for the c…
-
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
Swift 6 (swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-21) fails to build in release, debug and Swift 5.10 work fine.
With `-sil-verify-all` the function shown is:
```
3. While evalu…
-
### Description
Using the newest snapshot of the swift 6.0 compiler, I encounter a crash when trying to compile swiftui-introspect
### Reproduction
```sh
git clone https://github.com/siteline/swif…
-
### Description
Usage of an if/else expression in a generic result builder that implements `buildEither(first:)` and `buildEither(second:)` fails to typecheck and crashes the Swift 6 compiler. It com…