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

Index data is missing references when Swift uses an Objective-C property added through category adding a protocol conformance bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. indexing Area → source tooling: AST indexing objective-c interop Feature: Interoperability with Objective-C source tooling Area: IDE support, SourceKit, and other source tooling swift 5.8 unexpected behavior Bug: Unexpected behavior or incorrect output
#67446 opened Jul 21, 2023 by dylansturg
Types named "Type" don't fare well with explicit qualification bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself swift 6.0 type checker Area → compiler: Semantic analysis TypeResolver types Feature: types unexpected error Bug: Unexpected error
#67378 opened Jul 18, 2023 by dabrahams
Type inference fails chaining call on the return value of @resultBuilder bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. multi-statement closures Feature → closures: multi-statement closures type checker Area → compiler: Semantic analysis
#67363 opened Jul 18, 2023 by KingOfBrian
We should have a tool that finds unused diagnostic IDs compiler The Swift compiler in itself development tools Area: tools for compiler developers under the 'tools' directory feature A feature request or implementation good first issue Good for newcomers QoI Quality of Implementation utils Area: the build system and other accessory scripts under the "utils" directory
#67306 opened Jul 14, 2023 by beccadax
Value pack expansion in array literal array literals Feature → expressions → literals: Array literals bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself expressions Feature: expressions generics Feature: generic declarations and types literals Feature → expressions: Literals such as an integer or string literal pack expansions Feature → expressions: Pack expansion expressions SILGen Area → compiler: The SIL generation stage swift 5.9 type checker Area → compiler: Semantic analysis variadic generics Feature → generics: Variadic generics
#67192 opened Jul 8, 2023 by lhunath
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
[.]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
Crash in swift::GenericSignatureImpl::getDependentUpperBounds(swift::Type) AST Area → compiler: The libSwiftAST library code completion Area → source tooling: code completion compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software found by stress tester Flag: An issue found by the SourceKit stress tester generics Feature: generic declarations and types source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9
#65817 opened May 10, 2023 by ahoppen
Tokenizer assertion crash with code completion at end of file bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software lexer Area → compiler: The legacy C++ lexer source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9
#65507 opened Apr 28, 2023 by tristanlabelle
Failed to produce diagnostic when unable to choose correct initializer inside of result builder bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler in itself declarations Feature: declarations diagnostics QoI Bug: Diagnostics Quality of Implementation expressions Feature: expressions failed to produce diagnostic Bug → internal error: Failed to produce diagnostic for expression func Feature → declarations: Functions key paths Feature: key paths (both native and Objective-C) overloading Feature: Overloading symbol names result builders Feature: Result builders swift 5.9 type checker Area → compiler: Semantic analysis
#65467 opened Apr 27, 2023 by j-f1
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
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
Bad diagnostic when inheriting from class in extension 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 extension Feature → declarations: `extension` declarations good first issue Good for newcomers inheritance Feature → type declarations → class: Subclassing and inheritance of class members swift 5.9
#64903 opened Apr 4, 2023 by AnthonyLatsis
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
Having code that casts a generic any RangeExpression<T> will cause app to instantly crash at startup, on iOS 15 devices. accepts invalid Bug: Accepts invalid availability The @available attribute and availability checking in general bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. casting Feature: explicit casting (is, as, as? and as!) compiler The Swift compiler in itself constrained existentials Feature → existentials: constrained existentials such as 'any Collection<Int>' existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values expressions Feature: expressions swift 5.9 type checker Area → compiler: Semantic analysis
#64657 opened Mar 27, 2023 by nifly
@_noLocks is overly restrictive prohibiting common real-time code patterns 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 @_noLocks Feature → attributes: The @_noLocks attribute SILOptimizer Area → compiler: SIL optimization passes swift 5.9 unexpected error Bug: Unexpected error
#64511 opened Mar 21, 2023 by hogliux
get_architecture_value and ndk_platform_triple is no longer used in test/lit.cfg and can be removed bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#63907 opened Feb 25, 2023 by WeZZard
(c++ interop) Swift struct interfaces are not exported to module header bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself struct Feature → type declarations: Structure declarations swift to c++ Feature → c++ interop: swift to c++ swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#63862 opened Feb 23, 2023 by teamhimeh
Platforms that don't have "fat" multi-architecture binaries should place their runtime libraries in an arch-specific directory bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#63645 opened Feb 14, 2023 by finagolfin
Implement _customIndexOfEquatableElement for UnsafeRawBufferPointer feature A feature request or implementation standard library Area: Standard library umbrella
#63200 opened Jan 24, 2023 by glessard
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
"Instance member cannot be used on type" diagnostic message could be more specific 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 good first issue Good for newcomers type checker Area → compiler: Semantic analysis
#62909 opened Jan 8, 2023 by JetForMe
2
4
"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
Distributed Actor signatures conformance not working after swift format transformation bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. distributed Feature → concurrency: distributed actor
#61999 opened Nov 9, 2022 by hassila
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.