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

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
[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
@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
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
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
[.]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
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
[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
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
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
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
[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
[Concurrency][SE-0434] Treat captured local globally-isolated functions as Sendable concurrency Feature: umbrella label for concurrency language features
#73562 opened May 10, 2024 by simanerush
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
Compiler hangs occasionally on many-core CPUs on Windows bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#73532 opened May 8, 2024 by hjyamauchi
Protocol existentials do not trigger warnings if they will never be executed 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 missing warning Bug: Missing warning SILGen Area → compiler: The SIL generation stage swift 6.0
#73649 opened May 15, 2024 by chrisballinger
ProTip! no:milestone will show everything without a milestone.