swift
swift copied to clipboard
The Swift Programming Language
ActiveTaskStatusSize is 2 words, not 4, on most targets. PrivateStorageSize is measured in bytes, not words, so the Storage field needs to be a char[]. rdar://148836760
…ivity enforcement is disabled. The move-only checker relies on access markers to understand access scopes, so eliding them entirely leads to miscompiles. We can emit `begin_access [unsafe]` to semantically delimit...
Explanation: Fixes an issue where the generated reverse interop header would not compile for nested types when library evolution is off. While this is a bug in a new feature...
Explanation: Fixes an issue where the generated reverse interop header would not compile for nested classes when library evolution is turned off. Scope: C++ reverse interop for nested classes for...
Add support for spelling lifetime dependencies on mutable sources as `@lifetime(&arg)`. Previously this was spelled as `@lifetime(borrow arg)` and caused some confusion to developers. This is purely a syntactic change...
Previously when referencing the same key path, SIL wasn't eliminating the identical `keypath` instructions with the same patterns. This was pretty unfortunate because each `keypath` instruction that makes its way...
In `resolveClosureType` allow binding a closure parameter (when it's a free type variable) to a contextual type that is a pack expansion and otherwise valid. Resolves: [#78426](https://github.com/swiftlang/swift/issues/78426)
ActiveTaskStatusSize is 2 words, not 4, on most targets. PrivateStorageSize is measured in bytes, not words, so the Storage field needs to be a char[]. rdar://148836760
This feature is gated behind the `DefaultIsolationTypealias` experimental feature flag. Pitch discussion is at https://forums.swift.org/t/pitch-a-typealias-for-per-file-default-actor-isolation/79150. Please leave design feedback on the forums!