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

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
[.]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
Legacy C++ driver treats static libraries as source files with WMO enabled bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
#64454 opened Mar 17, 2023 by stevapple
"working directory" not completely respected when using "-explicit-swift-module-map-file" bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
#67212 opened Jul 11, 2023 by chiragramani
Fill out unimplemented expression cases in the ASTPrinter ASTPrinter Area → compiler: The AST printer compiler The Swift compiler in itself expressions Feature: expressions good first issue Good for newcomers task
#61601 opened Oct 17, 2022 by hamishknight
13 tasks
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
Optional boolean doesn't satisfy switch exhaustivity with literal case statements compiler The Swift compiler in itself feature A feature request or implementation good first issue Good for newcomers improvement literals Feature → expressions: Literals such as an integer or string literal switch exhaustivity Feature: enforcement of exhaustivity in 'switch' statements switch Feature → statements: 'switch' statements type checker Area → compiler: Semantic analysis
#61817 opened Oct 31, 2022 by jpsim
[SR-14381] @objc & @objcMembers attributes break compilation on Windows bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Windows Platform: Windows
#56739 opened Mar 21, 2021 by swift-ci
[SR-12683] @main is no longer usable due to misdetection of top level code bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#55127 opened Apr 27, 2020 by compnerd
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
Building HandyJSON in Swift 5.10 throws a fatal error 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 Frontend Area → compiler: Frontend
#71946 opened Feb 28, 2024 by CrazyFanFan
Passing parameter pack results in ICE 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 expressions Feature: expressions generics Feature: generic declarations and types SILGen Area → compiler: The SIL generation stage swift 6.0 tuples Feature: tuples variadic generics Feature → generics: Variadic generics
#66392 opened Jun 6, 2023 by keith
Incompatible signature of differential operators for functions with inout parameters AutoDiff bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#67818 opened Aug 9, 2023 by asl
[SR-10077] Switching over duplicate enum case names won't compile bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself declarations Feature: declarations enum cases Feature → enums: Enum cases enum Feature → type declarations: Swift enumeration declarations overloading Feature: Overloading symbol names pattern matching Feature: pattern matching patterns Feature: patterns swift 5.9 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#52479 opened Mar 11, 2019 by swift-ci
WASI/Wasm: withVaList(_:) produces a va_list with the wrong type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. clang importer Area → compiler: The clang importer standard library Area: Standard library umbrella WebAssembly Platform: WebAssembly
#72398 opened Mar 18, 2024 by grynspan
shared_ptr object creation is not working between swift/c++ interoperability. 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 linker error swift 6.0
#67355 opened Jul 18, 2023 by asheeshsoni01
[SR-15823] [AutoDiff] Runtime segfault from edge case AutoDiff 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 SILGen Area → compiler: The SIL generation stage swift 5.9
#58097 opened Feb 4, 2022 by philipturner
SwiftPM built with Swift 6.0 and later snapshots crashes on macOS 14 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. run-time crash Bug → crash: Swift code crashed during execution swift 6.0
#73327 opened Apr 14, 2024 by kateinoigakukun
1 task done
[SR-2022] Better fixit for type checking in switch statements compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers improvement parser Area → compiler: The legacy C++ parser
#44631 opened Jul 7, 2016 by karwa
[SR-15238] Key paths are not "Sendable" 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 key paths Feature: key paths (both native and Objective-C) standard library Area: Standard library umbrella swift 5.9 type checker Area → compiler: Semantic analysis
#57560 opened Sep 23, 2021 by stephencelis
Adding a conformance apparently corrupts metadata cache? bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. conformances Feature → protocol: protocol conformances crash Bug: A crash, i.e., an abnormal termination of software run-time crash Bug → crash: Swift code crashed during execution
#62498 opened Dec 10, 2022 by dabrahams
Variable i was never mutated in .enumerated() for var loop; needs fix-it to suggest for case (let _, var _) binding patterns Feature → patterns: Binding patterns 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 fix-its Feature: diagnostic fix-its for-in loops Feature: for-in loops good first issue Good for newcomers patterns Feature: patterns statements Feature: statements swift 6.0 tuple patterns Feature → patterns: Tuple patterns type checker Area → compiler: Semantic analysis
#72811 opened Apr 3, 2024 by peterkos
[SR-3908] Extension methods visible without importing module in a file 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 multiple files Flag: An issue whose reproduction requires multiple files multiple modules Flag: An issue whose reproduction requires multiple modules name lookup Area → compiler → type checker: Name lookup swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#46493 opened Feb 9, 2017 by aciidgh
[SR-7605] Overly-exuberant associatedtype deduction? accepts invalid Bug: Accepts invalid bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances default implementations Feature → protocol → conformances: default implementations generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types swift 6.0 type checker Area → compiler: Semantic analysis unexpected behavior Bug: Unexpected behavior or incorrect output
#50147 opened May 4, 2018 by dabrahams
[SR-3412] Use of closure inside withUnsafeBytes considered escaping bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation expressions Feature: expressions generics Feature: generic declarations and types good first issue Good for newcomers needs tests Flag: Needs tests swift 3.1 type checker Area → compiler: Semantic analysis
#46000 opened Dec 13, 2016 by karwa
ProTip! Adding no:label will show everything without a label.