swift
swift copied to clipboard
The Swift Programming Language
### Description Awaiting an actor property in a default property initializer produces a warning about no Async operation being performed in the await. The same code without the await does...
The Swift 6.1 runtime & stdlib has shipped in macOS 15.4, iOS 18.4, watchOS 11.4, tvOS 18.4 and visionOS 2.4. Update the availability of API shipped in that release to...
To run CI.
Changes the diagnostics emitted when an `@objc @implementation` extension is missing some of the members required by the extension: * We now emit one error on the extension, plus a...
### Description Migrated to Xcode 16.3, changed Package.swift to swift-tools 6.1, and got compilation error: ``` ..../swift-generated-sources/@__swiftmacro_28CountryCallingCodesJSONTests0039CountryCallingCodesJSONTestsswift_jrGEmfMX39_8_6expectfMf_.swift:3:17 Cannot convert value of type 'WritableKeyPath' to expected argument type '(Bool) throws ->...
### Description If a static dynamic member subscript returns `Self`, the leading-dot `.expression` syntax does not resolve to it. ### Reproduction ```swift struct Foo { var bar: Bar { fatalError()...
We are supposed to quote anything that is referred to as code, and attributes are no exception. Next, we need to move away from spelling them out in message templates.
…default These functions already have special code generation that keeps them in the caller's isolation context, so there is no behavior change here. Resolves: rdar://145672343