Skip to content

Issues: apple/swift

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Label
Filter by label
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Milestones
Filter by milestone
Assignee
Filter by who’s assigned
Sort

Issues list

Crash when emitting C++ header for overloaded macros bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++
#69656 opened Nov 4, 2023 by conradev updated May 8, 2024
[SR-15793] [AutoDiff] Incorrect behavior with derivatives AutoDiff bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself declarations Feature: declarations func Feature → declarations: Functions methods Feature → functions: methods (member functions) mutating Feature → declarations → functions: Mutating functions swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#58070 opened Jan 31, 2022 by philipturner updated May 3, 2024
"SIL memory lifetime failure" when attempting to build Distributed Actors example. actor Feature → concurrency: `actor` declarations bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself concurrency Feature: umbrella label for concurrency language features crash Bug: A crash, i.e., an abnormal termination of software distributed Feature → concurrency: distributed actor SILGen Area → compiler: The SIL generation stage swift 5.8 verifier
#62898 opened Jan 6, 2023 by fibrechannelscsi updated May 3, 2024
Diagnostic for use of plain protocol name in type position should suggest some or any bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values fix-its Feature: diagnostic fix-its generics Feature: generic declarations and types good first issue Good for newcomers opaque types Feature → types: opaque types swift 5.9 type checker Area → compiler: Semantic analysis types Feature: types
#68284 opened Sep 1, 2023 by hborla updated May 2, 2024
Change "has been removed" to "was removed". compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers improvement parser Area → compiler: The legacy C++ parser
#73246 opened Apr 25, 2024 by JessyCatterwaul updated Apr 27, 2024
Update CONTRIBUTING.md to include PR process / forking information contributor experience feature A feature request or implementation
#72674 opened Mar 28, 2024 by adammcarter updated Apr 27, 2024
[AutoDiff] Unoptimized code generation for simple derivatives when called from conditional control-flow contexts AutoDiff bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#71510 opened Feb 9, 2024 by jkshtj updated Apr 27, 2024
MainActor is not working actor Feature → concurrency: `actor` declarations bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself concurrency Feature: umbrella label for concurrency language features missing info Resolution: Is missing crucial info such as a test case or a concise description swift 5.7 unexpected behavior Bug: Unexpected behavior or incorrect output
#64767 opened Mar 30, 2023 by miku1958 updated Apr 27, 2024
utils/run-test can't infer swift build directory bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. contributor experience run-test Area → utils: the `run-test` script utils Area: the build system and other accessory scripts under the "utils" directory
#63159 opened Jan 23, 2023 by valeriyvan updated Apr 27, 2024
Compiler error when extending a typealias of a partially specialized generic type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself declarations Feature: declarations extension Feature → declarations: `extension` declarations generics Feature: generic declarations and types good first issue Good for newcomers swift 5.9 type checker Area → compiler: Semantic analysis typealias Feature → type declarations: `typealias` declarations TypeResolver unexpected error Bug: Unexpected error
#68212 opened Aug 30, 2023 by tapsns updated Apr 24, 2024
Init Accessors not found by linker when used in another file accepts invalid Bug: Accepts invalid accessors Feature → declarations: Variable (property) accessors bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself init accessors Feature: Initialization property accessors linker error multiple files Flag: An issue whose reproduction requires multiple files swift 5.9 type checker Area → compiler: Semantic analysis
#71578 opened Feb 13, 2024 by RemiBardon updated Apr 23, 2024
[.]Type completion for (any P). shows it will produce an existential metatype bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values good first issue Good for newcomers metatypes Feature → types: Metatypes source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#65843 opened May 10, 2023 by AnthonyLatsis updated Apr 22, 2024
Another (srcAddr->getType() == destAddr->getType()), function createCopyAddr assertion failure. assertion failure Bug → crash: An assertion failure AutoDiff bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software IRGen LLVM IR generation swift 6.0
#73018 opened Apr 12, 2024 by fibrechannelscsi updated Apr 19, 2024
@discardableResult works with try and try!, but not try? attributes Feature: Declaration and type attributes bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself @discardableResult Feature → attributes: The @discardableResult attribute error handling expressions Feature: expressions swift 6.0 type checker Area → compiler: Semantic analysis unexpected warning Bug: Unexpected warning
#71870 opened Feb 24, 2024 by AnthonyLatsis updated Apr 2, 2024
import typealias causes invalid error claiming the symbol is a protocol bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself declarations Feature: declarations import Feature → declarations: `import` declarations swift 6.0 typealias Feature → type declarations: `typealias` declarations unexpected error Bug: Unexpected error
#72724 opened Mar 30, 2024 by tristanlabelle updated Mar 30, 2024
[SR-15051] Swift should suggest updating existing @available attribute when you use an insufficiently available declaration availability The @available attribute and availability checking in general compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation fix-its Feature: diagnostic fix-its good first issue Good for newcomers improvement type checker Area → compiler: Semantic analysis
#57378 opened Aug 10, 2021 by beccadax updated Mar 28, 2024
The suggested fix for the protocol composition type is incorrect when enable upcoming featureExistentialAny bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values fix-its Feature: diagnostic fix-its protocol compositions Feature → types: protocol composition types swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#65027 opened Apr 8, 2023 by treastrain updated Mar 28, 2024
The suggested fix for the existential types with implicit unwrapping is incorrect when enable upcoming featureExistentialAny bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values fix-its Feature: diagnostic fix-its implicitly unwrapped optionals Feature → types: Implicitly unwrapped optional types, aka IUO swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#65026 opened Apr 8, 2023 by treastrain updated Mar 28, 2024
Upcoming feature flag ExistentialAny ignores missing any keyword when constraining a protocol bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values parameterized protocols Feature → protocol: protocols with primary associated types protocol Feature → type declarations: Protocol declarations swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#72588 opened Mar 26, 2024 by lukaskollmer updated Mar 28, 2024
2
Add SWIFT_NAME attributes for all functions in CASTBridging.h ASTGen Area → compiler: The ASTGen module, which translates SwiftSyntax trees to the C++ AST compiler The Swift compiler in itself good first issue Good for newcomers task
#68353 opened Sep 6, 2023 by ahoppen updated Mar 28, 2024
Investigate possible optimization opportunities for autodiff code with control flow AutoDiff compiler The Swift compiler in itself feature A feature request or implementation performance run-time performance SILOptimizer Area → compiler: SIL optimization passes
#68901 opened Oct 2, 2023 by asl updated Mar 27, 2024
Add test coverage for update-checkout --stash option contributor experience good first issue Good for newcomers task test suite Area: test suite update-checkout Area → utils: the `update-checkout` script utils Area: the build system and other accessory scripts under the "utils" directory
#72523 opened Mar 22, 2024 by MaxDesiatov updated Mar 23, 2024
@Sendable with function type defined as a typealias doesn't compile bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#60488 opened Aug 10, 2022 by dnadoba updated Mar 21, 2024
constructing an object of class type X with a metatype value must use a 'required' initializer bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#71874 opened Feb 25, 2024 by Kyle-Ye updated Feb 26, 2024
Compiler suggests a wrong insertion point for 'await' in if let .... async & await Feature → concurrency: asynchronous function aka the async/await pattern bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself concurrency Feature: umbrella label for concurrency language features diagnostics QoI Bug: Diagnostics Quality of Implementation fix-its Feature: diagnostic fix-its good first issue Good for newcomers optional binding Feature → patterns: optional binding patterns Feature: patterns swift 5.9 type checker Area → compiler: Semantic analysis unexpected behavior Bug: Unexpected behavior or incorrect output
#65913 opened May 15, 2023 by YOCKOW updated Feb 18, 2024
ProTip! Updated in the last three days: updated:>2024-05-06.