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

Incorrect (but understandable) fix-it for missing labels on a function with non-final default arguments bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. call expressions Feature → expressions: Call expressions compiler The Swift compiler itself default arguments Feature: default arguments for value parameters diagnostics QoI Bug: Diagnostics Quality of Implementation expressions Feature: expressions fix-its Feature: diagnostic fix-its swift 5.9 type checker Area → compiler: Semantic analysis unexpected behavior Bug: Unexpected behavior or incorrect output
#72208 opened Mar 9, 2024 by jrose-signal
Variadics and UnsafePointers 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 generics Feature: generic declarations and types parameter packs Feature → generics: Parameter packs SILGen Area → compiler: The SIL generation stage swift 5.9
#71452 opened Feb 7, 2024 by carlynorama
Swift compiler doesn't support turning off whole module optimization on certain projects bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Frontend Area → compiler: Frontend swift 5.9 whole module optimization Feature: Whole module optimization
#70995 opened Jan 18, 2024 by dabrahams
Possible -whole-module-optimization bug bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output whole module optimization Feature: Whole module optimization
#70979 opened Jan 18, 2024 by dabrahams
Optimisation difference between !x and x == false bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself run-time performance SILOptimizer Area → compiler: SIL optimization passes swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#70655 opened Dec 31, 2023 by karwa
Passing class-constrained type as AnyObject instance behavior is not matched on Darwin and non-Darwin platform bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers swift 5.9 type checker Area → compiler: Semantic analysis
#70645 opened Dec 28, 2023 by Kyle-Ye
Refactoring on method change tick-masked variables backticked identifiers Feature → identifiers: Backticked identifiers. Allows using reserved words as identifiers bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. refactoring Area → source tooling: refactoring source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#70620 opened Dec 24, 2023 by bastie
Using a non-keypath as a keypath leads to 'unable to infer closure type without a type annotation" bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures diagnostics QoI Bug: Diagnostics Quality of Implementation key paths Feature: key paths (both native and Objective-C) swift 5.9 type checker Area → compiler: Semantic analysis type inference Feature: type inference
#69795 opened Nov 11, 2023 by stackotter
Crash when mangling TypeKind::OpenedArchetype (while Lowering AST to SIL) bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software expressions Feature: expressions mangling Area → compiler: Mangling SILGen Area → compiler: The SIL generation stage swift 5.9 triage needed This issue needs more specific labels
#69620 opened Nov 2, 2023 by art-divin
Swift can't find its subcommands from within emacs on Windows bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project swift 5.9 unexpected error Bug: Unexpected error Windows Platform: Windows
#69492 opened Oct 29, 2023 by dabrahams
Using packs in closure: cannot fully abstract a value of variadic function type. bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler itself expressions Feature: expressions generics Feature: generic declarations and types parameter packs Feature → generics: Parameter packs SILGen Area → compiler: The SIL generation stage swift 5.9 unexpected error Bug: Unexpected error
#69412 opened Oct 25, 2023 by CrystDragon
Constraint solver assertion failure with key paths and dynamic member subscript assertion failure Bug → crash: An assertion failure attributes Feature: Declaration and type attributes 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 @dynamicMemberLookup Feature → attributes: the @dynamicMemberLookup attribute key paths Feature: key paths (both native and Objective-C) swift 5.9 type checker Area → compiler: Semantic analysis Windows Platform: Windows
#69386 opened Oct 24, 2023 by stephencelis
Compiler and runtime crashes when combining result builders with memberwise initializer bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software IRGen LLVM IR generation swift 5.9
#69272 opened Oct 19, 2023 by lassejansen
Command SwiftCompile failed with a nonzero exit code (View + Parameter Pack) bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself generics Feature: generic declarations and types parameter packs Feature → generics: Parameter packs swift 5.9
#68919 opened Oct 2, 2023 by twhitt14
"cannot pass value pack expansion to non-pack parameter" error with a variadic parameter bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. call expressions Feature → expressions: Call expressions compiler The Swift compiler itself expressions Feature: expressions function parameters Feature → declarations: function parameters generics Feature: generic declarations and types parameter packs Feature → generics: Parameter packs swift 5.9 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error variadic parameters Feature → declarations → function parameters: Variadic function parameters
#68755 opened Sep 25, 2023 by simanerush
Specific macro that works on macOS is not working with latest Linux snapshot bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Linux Platform: Linux swift macro Feature → declarations: Swift `macro` declarations swift 5.9
#68345 opened Sep 6, 2023 by MahdiBM
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 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
Unexpected Behavior in Swift 5.9 with ~Copyable and consuming in For Loop accepts invalid Bug: Accepts invalid bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. for-in loops Feature: for-in loops noncopyable struct/enum Feature → declarations: Noncopyable value type declarations struct Feature → type declarations: Structure declarations swift 5.9
#68230 opened Aug 31, 2023 by ojun9
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 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
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
Better detect if we're in a pattern before suggesting completions for let and var bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion expressions Feature: expressions let & var Feature: constant and variable declarations source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#67705 opened Aug 3, 2023 by hamishknight
Default expression for inference works for static methods but not functions bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself declarations Feature: declarations default arguments Feature: default arguments for value parameters func Feature → declarations: Functions generics Feature: generic declarations and types swift 5.9 type checker Area → compiler: Semantic analysis type inference Feature: type inference unexpected error Bug: Unexpected error
#67680 opened Aug 2, 2023 by adamkuipers
SIL verification failure of key paths, only on Windows assertion failure Bug → crash: An assertion failure compiler The Swift compiler itself crash Bug: A crash, i.e., an abnormal termination of software SIL swift 5.9 verifier Windows Platform: Windows
#67676 opened Aug 2, 2023 by ahoppen
It looks like some test inputs for the demangle test are being ignored. bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself swift 5.9 test suite Area: test suite
#67616 opened Jul 31, 2023 by oozoofrog
Array.description uses debugDescription instead of description of its elements Array Area → standard library: The `Array` type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. CustomStringConvertible Area → standard library: The `CustomStringConvertible` protocol standard library Area: Standard library umbrella swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#67541 opened Jul 26, 2023 by dnadoba
ProTip! Find all open issues with in progress development work with linked:pr.