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

Assertion failed: (LocalDiscriminator == InvalidDiscriminator && "LocalDiscriminator is set multiple times") when building a package with TCA as a dependency bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software expressions Feature: expressions type checker Area → compiler: Semantic analysis
#71217 opened Jan 29, 2024 by kuglee
Add cross-platform introspection tools for Swift Concurrency Tasks concurrency Feature: umbrella label for concurrency language features feature A feature request or implementation
#72228 opened Mar 11, 2024 by hassila
Incorrect type inference for switch <#Never#> {} expression bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72896 opened Apr 7, 2024 by jrsaruo
Possible -whole-module-optimization bug bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output whole module optimization Feature: Whole module optimization
#70979 opened Jan 18, 2024 by dabrahams
[Autodiff] Already have an active diagnostic assertion failure when handling previous errors. AutoDiff bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#68922 opened Oct 2, 2023 by fibrechannelscsi
Over-release of non-copyable value when passed via a borrowing parameter and captured by non-escaping closure bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software noncopyable struct/enum Feature → declarations: Noncopyable value type declarations ownership Feature: Ownership modifiers and semantics
#71495 opened Feb 9, 2024 by sharplet
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
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
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
2
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
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
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
[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
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
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
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
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
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
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
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
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
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
adding global actor erroneously allowed when overriding an ObjC class's method actor isolation Feature → concurrency: Actor isolation bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. concurrency Feature: umbrella label for concurrency language features declarations Feature: declarations type checker Area → compiler: Semantic analysis
#72238 opened Mar 11, 2024 by KeithBauerANZ
OptionSet that is also an NSObject seems to be broken bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72765 opened Apr 2, 2024 by igor-makarov
NSObject conformance to Equatable is stealthy bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#72797 opened Apr 3, 2024 by igor-makarov
ProTip! no:milestone will show everything without a milestone.