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

[AutoDiff] Implement the closure optimization that is specialized towards the linear map tuples / enums produced by autodiff. AutoDiff closures Feature: closures compiler The Swift compiler in itself expressions Feature: expressions SILOptimizer Area → compiler: SIL optimization passes task
#68944 opened Oct 3, 2023 by jkshtj updated Mar 27, 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
Unused expression does not trigger precondition in -O mode. bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72455 opened Mar 20, 2024 by oscbyspro updated Mar 28, 2024
Macro is not working with #if os bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72648 opened Mar 28, 2024 by miku1958 updated Mar 28, 2024
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
Macro in global is not working bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72655 opened Mar 28, 2024 by mtfum 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
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
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
No any syntax migration error for protocol qualifier 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 qualified identifier types Feature → types: Qualified identifier types swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#72678 opened Mar 28, 2024 by AnthonyLatsis updated Mar 28, 2024
Super-linear compilation times if source file contains thousands of top-level LOC bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself performance script mode Flag: Specific to script mode compilation unexpected behavior Bug: Unexpected behavior or incorrect output
#72661 opened Mar 27, 2024 by VAndrJ updated Mar 28, 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
using isKnownUniquelyReferenced seems to crash on C++ reference type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ c++ to swift Feature → c++ interop: c++ to swift compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software IRGen LLVM IR generation swift 5.10
#72676 opened Mar 28, 2024 by wtholliday updated Mar 28, 2024
Hasher.combine fails to implicitly open Hashable bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72269 opened Mar 12, 2024 by jasonbobier updated Mar 29, 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
Assertion failure: extReqs.size() == typeReqs.size()) in isWrittenWithConstraints. assertion failure Bug → crash: An assertion failure 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 declarations Feature: declarations extension Feature → declarations: `extension` declarations generics Feature: generic declarations and types IRGen LLVM IR generation swift 6.0
#72719 opened Mar 30, 2024 by fibrechannelscsi updated Mar 30, 2024
No literal initialization via coercion in generic code :( bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72725 opened Mar 30, 2024 by oscbyspro updated Mar 30, 2024
Incorrect absoluteString for URL on linux bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Foundation Linux Platform: Linux transfer candidate The issue may belong in another repository
#72702 opened Mar 29, 2024 by Jomy10 updated Mar 30, 2024
Compiler crash with circular reference, redundant conformance requirements assertion failure Bug → crash: An assertion failure 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 declarations Feature: declarations generics Feature: generic declarations and types inheritance clauses Feature → type declarations: Type inheritance clauses protocol Feature → type declarations: Protocol declarations swift 6.0 type checker Area → compiler: Semantic analysis typealias Feature → type declarations: `typealias` declarations
#72695 opened Mar 29, 2024 by karwa updated Mar 30, 2024
Incorrect 'class inherits from itself' bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. class Feature → type declarations: Class declarations compiler The Swift compiler in itself declarations Feature: declarations inheritance clauses Feature → type declarations: Type inheritance clauses swift 6.0 type checker Area → compiler: Semantic analysis type declarations Feature → declarations: Type declarations unexpected error Bug: Unexpected error
#72715 opened Mar 29, 2024 by karwa updated Mar 30, 2024
Compiler crashed: Referring os.Logger instance in custom constructor of String bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software triage needed This issue needs more specific labels
#72733 opened Mar 31, 2024 by mtgto updated Mar 31, 2024
[SR-4] API availability checks are not implemented for non-Darwin platforms bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
#42630 opened Nov 6, 2015 by jopamer updated Apr 1, 2024
cloning swift fails bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72735 opened Mar 31, 2024 by soloturn updated Apr 1, 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
@discardableResult doesn't work with computed property getter accessors Feature → declarations: Variable (property) accessors 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 declarations Feature: declarations @discardableResult Feature → attributes: The @discardableResult attribute swift 6.0 type checker Area → compiler: Semantic analysis unexpected behavior Bug: Unexpected behavior or incorrect output
#72752 opened Apr 1, 2024 by li3zhen1 updated Apr 2, 2024
ProTip! Mix and match filters to narrow down what you’re looking for.