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

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
[cxx-interop] Consider mapping C++ nullopt_t ctors to ExpressibleByNilLiteral conformance c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself feature A feature request or implementation
#72796 opened Apr 3, 2024 by egorzhdan
swift_newtype + (Equatable & import Foundation) cause compiler crash on Linux 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
#71086 opened Jan 23, 2024 by Kyle-Ye
[cxx-interop] Allow removing elements from std::set c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself feature A feature request or implementation
#72799 opened Apr 3, 2024 by egorzhdan
@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
@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
swift_getSingletonMetadata crashes when called via Bundle.main.classNamed() 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
#72657 opened Mar 28, 2024 by philipphofmann
ProTip! no:milestone will show everything without a milestone.