Anthony Latsis
Anthony Latsis
**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...
### Issue Kind Bad Diagnostic Produced ### Source Code ```swift test { ([X]) in } ``` ### Description New parser: ``` error: unexpected code '[X]' in parameter clause test {...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/patterns#Expression-Pattern ### Description > Expression patterns appear only in switch statement case labels. This is not true. Expression patterns may appear in both `switch` case items and case...
Resolves #65026, resolves #65027, resolves #72588. Diff counts are mostly due to tests.
### Description _No response_ ### Reproduction ```swift protocol P { associatedtype A } protocol Q: P where A == Void {} struct S {} extension S: Q {} extension S:...
### Describe the bug The template query parameter is not added to the URL regardless of whether the template exists or not. ``` gh version 2.52.0 (2024-06-24) https://github.com/cli/cli/releases/tag/v2.52.0 ``` ###...
### Description Below, neither of the switches are considered exhaustive because the patterns are evaluated as expressions rather than enum elements. ### Reproduction ```swift enum E { case a }...
Recognize non-identifier type qualifiers * when resolving an enum element pattern. For example, the following `switch` statements were not considered exhaustive because the parsed expressions resolved to expression patterns: ```swift...