swift icon indicating copy to clipboard operation
swift copied to clipboard

The Swift Programming Language

Results 728 swift issues
Sort by recently updated
recently updated
newest added

The reason to avoid this is if we attempt to lazily deserialize the moveonly deinit table, we may also attempt to deserialize a deinit function. This would result in us...

Header search path for Swift shims is "usr/lib/swift". Don't rely on clang looking for module maps in immediate subdirectories like "shims" but add a module map to "usr/lib/swift" sourcing "shims"...

**Description** The following code fails to compile in Debug mode. The error message is: `SIL verification failed: public/shared function must have a body: F->isDefinition() || F->hasForeignBody()` **Steps to reproduce** This...

bug
triage needed

The following code produces `Type of expression is ambiguous without more context` ```swift func configure( _ item: T, with configuration: repeat (ReferenceWritableKeyPath, each Element) ) -> T { repeat item[keyPath:...

bug
compiler
type checker
key paths
generics
tuples
expressions
swift 5.9
unexpected error
variadic generics

This adds prespecializations for commonly used types to the stdlib

Resolves rdar://110179186 When a macro without parameters is loaded from a built module, its DeclName is different than when it is loaded directly from source code. The deserialized macro is...

**Explanation**: This fixes one of the tests which wasn't fully correct: the compiler might optimize away one of the copies, which would make the test fail. **Scope**: This is a...

c++ interop

This converges the logic here with NominalTypeDecl::isResilient(). I don't have a test case, but I suspect there's a latent bug here.

Cherry-pick of https://github.com/apple/swift/pull/66497 - **Explanation**: Macros with no parameters have an inconsistent DeclName based on whether they were loaded from source code or a built-module. - **Scope**: Affects symbol graphs...