-
### Description
_No response_
### Reproduction
Given this function:
```swift
func div(_ a: UInt, _ b: UInt) -> UInt {
a / b
}
```
Swift 5.10, Godbolt, `-O`:
```
output.div(Swift.…
-
### Description
The following test function will not compile in the Swift 6 language mode:
```swift
@MainActor @Test func example() async {
await confirmation { _ in } // Error: Sending main …
-
**Describe the bug**
Traceback (most recent call last):
File "/apps1/zhangfan/anaconda3/envs/new_swift/lib/python3.10/site-packages/swift/cli/rlhf.py", line 5, in
rlhf_main()
File "/apps1…
-
### Description
The following simple code causes an internal compiler crash. As far as I noticed, `set` of a property of protocol seems to cause this situation. To remove `set` from the property, thi…
-
**Short description of the issue**:
RxSwift fails to build on Ubuntu 22.04 against 2024-07-22 nightly Swift toolchains (and newer).
**Expected outcome**:
Top of RxSwift main (also reproduced …
-
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…
-
```swift package pdc```
```
error: plugin compilation failed:
```
-
### Describe the bug
```
Crashed: com.apple.root.user-initiated-qos.cooperative
0 libswiftCore.dylib 0x398c0 _assertionFailure(_:_:file:line:flags:) + 264
1 Evie Ring …
-
### Description
The following example crashes the compiler. I can only reproduce the crash if the two type definitions are located in separate files.
### Reproduction
```swift
// ProtectedState.sw…
-
Do you think update the pod 4.0, 4.2 or 5.0?