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

**Description** Command: ``` utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs="$(uname -m)" --release-debuginfo --sccache --swift-disable-dead-stripping --skip-early-swift-driver --bootstrapping=off ``` Error: ``` /Users/mac/Desktop/swift-project/swift/stdlib/public/Backtracing/Backtrace.swift:479:21: error: expected a macro identifier for a pound literal expression let...

bug
build-script
utils
swift 5.9
unexpected error

When a value has a deinit, it cannot be memberwise destroyed. This verification catches cases where we fail to run the structs' deinit and cases where we incorrectly run a...

rdar://110059596 (cherry picked from commit 2488f1966d274ea7d3a995a57000a0273c19a8a0)

…ec if needed when emitting C++ constructor call Fixes https://github.com/apple/swift/issues/65891 - Explanation: Swift needs to understand if C++ functions are `noexcept` to elide exception traps. Some C++ class members, like...

c++ interop
swift 5.9

The `hasStorage()` computation is used in many places to determine the signatures of other declarations. It currently needs to expand accessor macros, which causes a number of cyclic references. Provide...

**Description** **Steps to reproduce** **Expected behavior** In SE-0392, some assert(precondition) methods were introduced. https://github.com/apple/swift-evolution/blob/main/proposals/0392-custom-actor-executors.md We can use them only on more than iOS 17.0(macOS 14.0, , watchOS 10.0, tvOS 17.0)....

bug
triage needed

| | | |------------------|-----------------| |Previous ID | SR-14649 | |Radar | rdar://problem/78276246 | |Original Reporter | Olbo (JIRA User) | |Type | Bug | Additional Detail from JIRA | |...

bug
compiler
diagnostics QoI
type checker
generics
casting
swift 5.9
unexpected warning

**Description** Currently, it seems that the expansion method is not run for ConformanceMacros. **Steps to reproduce** Write a macro conforming to `ConformanceMacro` ``` // declare macro as attached(conformance) @attached(conformance) public...

bug
triage needed

This PR enables usage of LLVM's opaque pointer type `ptr` during LLVM IR code generation (instead of usage of typed pointers e.g. `i64 *`). I have added a `%use_no_opaque_pointers` substitution...

**Description** I was hoping keywords like `case` could be used as expression macro names in an unescaped manner, like static functions and methods, but sadly that doesn't seem to be...

bug
parser
compiler
expressions
swift 5.9
unexpected error
backticked identifiers
identifiers
macro expansions