Skip to content

Issues: swiftlang/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
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Assigned to nobody Loading
Sort

Issues list

IRGen createTypeMetadataAccessFunction crash bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software IRGen LLVM IR generation swift 5.8 swift 5.9
#67861 opened Aug 10, 2023 by aetherealtech
Compiler's wrong code interpretation causes loop of error messages bridging Feature → casting: type bridging bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. casting Feature: explicit casting (is, as, as? and as!) diagnostics QoI Bug: Diagnostics Quality of Implementation fix-its Feature: diagnostic fix-its swift 5.8 type checker Area → compiler: Semantic analysis
#67720 opened Aug 3, 2023 by sjvolkmann
Assigning an array element to another is sometimes abysmally slow Array Area → standard library: The `Array` type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. performance run-time performance standard library Area: Standard library umbrella swift 5.8
#67655 opened Aug 1, 2023 by za-creature
Index data (SourceKit and Indexstore) for an extension of a typealias does not reference the typealias bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. declarations Feature: declarations extension Feature → declarations: `extension` declarations indexing Area → source tooling: AST indexing multiple modules Flag: An issue whose reproduction requires multiple modules source tooling Area: IDE support, SourceKit, and other source tooling swift 5.8 typealias Feature → type declarations: `typealias` declarations unexpected behavior Bug: Unexpected behavior or incorrect output
#67444 opened Jul 20, 2023 by dylansturg
Duplicate fileprivate names in a module causes compilation failures bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself multiple files Flag: An issue whose reproduction requires multiple files swift 5.8 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#67419 opened Jul 20, 2023 by dabrahams
Array.forEach closure shows wrong diagnostic message bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler itself diagnostics QoI Bug: Diagnostics Quality of Implementation multi-statement closures Feature → closures: multi-statement closures swift 5.8 type checker Area → compiler: Semantic analysis type inference Feature: type inference
#67175 opened Jul 7, 2023 by koke
[Swift 5.8] Unexpected error "Cannot inherit from protocol type with generic argument" bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. parameterized protocols Feature → protocol: protocols with primary associated types protocol Feature → type declarations: Protocol declarations swift 5.8 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#66740 opened Jun 18, 2023 by ensan-hcl
Compiler crash when compiling code that initializes AnyClass 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 itself crash Bug: A crash, i.e., an abnormal termination of software IRGen LLVM IR generation metatypes Feature → types: Metatypes objective-c interop Feature: Interoperability with Objective-C swift 5.8
#66089 opened May 23, 2023 by danielpunkass
Command SwiftEmitModule failed with a nonzero exit code bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself infinite recursion Bug: Infinite recursion serialization Area → compiler: Serialization & deserialization swift 5.8
#65881 opened May 12, 2023 by chenyunguiMilook
SILFunction type mismatch bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software function types Feature → types: function types multiple modules Flag: An issue whose reproduction requires multiple modules serialization Area → compiler: Serialization & deserialization SIL swift 5.8 types Feature: types
#65849 opened May 11, 2023 by Kyle-Ye
Serious type checking regression in Swift 5.8. bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler itself performance result builders Feature: Result builders swift 5.8 type checker Area → compiler: Semantic analysis
#65765 opened May 8, 2023 by mluisbrown
Runtime memory corruption regression in Swift 5.8 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. memory corruption missing info Resolution: Is missing crucial info such as a test case or a concise description optimized only Flag: An issue whose reproduction requires optimized compilation regression swift 5.8
#65757 opened May 8, 2023 by anlaital
Swift concurrency fails consistently under load bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Concurrencу Area → standard library: The `Concurrency` module under the standard library umbrella crash Bug: A crash, i.e., an abnormal termination of software memory corruption standard library Area: Standard library umbrella swift 5.8 TaskGroup Area → standard library → Concurrency: The `TaskGroup` type
#65537 opened Apr 30, 2023 by brianm998
Failed to produce diagnostic for expression bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself diagnostics QoI Bug: Diagnostics Quality of Implementation failed to produce diagnostic Bug → internal error: Failed to produce diagnostic for expression generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types result builders Feature: Result builders swift 5.8 type checker Area → compiler: Semantic analysis
#65474 opened Apr 27, 2023 by bisgardo
Sendable warning produced for unused non-Sendable result value actor isolation Feature → concurrency: Actor isolation actor Feature → concurrency: `actor` declarations compiler The Swift compiler itself concurrency Feature: umbrella label for concurrency language features feature A feature request or implementation improvement swift 5.8 type checker Area → compiler: Semantic analysis
#65463 opened Apr 27, 2023 by itaiferber
Swift DocC failed to build the documentation with CXX interop 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 itself crash Bug: A crash, i.e., an abnormal termination of software serialization Area → compiler: Serialization & deserialization swift 5.8
#65395 opened Apr 24, 2023 by SpectralDragon
1 of 2 tasks
(SymbolGraphGen) orphaned stdlib symbol 'Unicode._NFD.Iterator.next' attributes Feature: Declaration and type attributes bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself @_spi Feature → attributes: the @_spi attribute swift 5.8 SymbolGraphGen The swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs. unexpected behavior Bug: Unexpected behavior or incorrect output
#65335 opened Apr 21, 2023 by tayloraswift
Default parameter is not leveraged when the variable that is assigned the function with the default argument is called bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself default arguments Feature: default arguments for value parameters expressions Feature: expressions function parameters Feature → declarations: function parameters function types Feature → types: function types function values Feature → expressions: function values not a bug Resolution → not a bug: Reported as a bug but turned out to be expected behavior or programmer error swift 5.8 type checker Area → compiler: Semantic analysis
#65092 opened Apr 12, 2023 by andrewkykoo
Heap corruption when awaiting AsyncSequence in top level 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 itself concurrency Feature: umbrella label for concurrency language features memory corruption optimized only Flag: An issue whose reproduction requires optimized compilation SILOptimizer Area → compiler: SIL optimization passes swift 5.8
#65001 opened Apr 7, 2023 by sidepelican
Unbound memory growth when using existential with primary associated type in SwiftUI view bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. 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 hang Bug: Execution is not seen to halt swift 5.8
#64974 opened Apr 6, 2023 by mbrandonw
[Xcode 14.3] Can't build project when setting SWIFT_OPTIMIZATION_LEVEL as [-O] bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software DCE Area → compiler → SILOptimizer: Dead Code Elimination optimized only Flag: An issue whose reproduction requires optimized compilation regression SILOptimizer Area → compiler: SIL optimization passes swift 5.8
#64859 opened Apr 3, 2023 by ShawnBaek
Compiler crash when extending Obj-C code in Swift 5.8 / Xcode 14.3 RC 2 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software missing info Resolution: Is missing crucial info such as a test case or a concise description objective-c interop Feature: Interoperability with Objective-C swift 5.8
#64770 opened Mar 30, 2023 by simba909
hasFeature() by itself doesn't prevent parsing of new syntax bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler control statements Feature: compiler control statements compiler The Swift compiler itself #if Feature → compiler control statements: Conditional compilation blocks parser Area → compiler: The legacy C++ parser swift 5.8 unexpected error Bug: Unexpected error
#64627 opened Mar 26, 2023 by gwynne
Swift Compiler 5.8 / Xcode 14.3 RC -strict-implicit-module-context not pass to swift-frontend bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself driver options Area → compiler → legacy driver: driver options legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project swift 5.8 unexpected behavior Bug: Unexpected behavior or incorrect output
#64564 opened Mar 23, 2023 by Fushj89
(SymbolGraphGen) AnyObject constraints are always dropped bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types source tooling Area: IDE support, SourceKit, and other source tooling swift 5.8 SymbolGraphGen The swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs. unexpected behavior Bug: Unexpected behavior or incorrect output
#64550 opened Mar 22, 2023 by tayloraswift
ProTip! Follow long discussions with comments:>50.