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

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 updated Apr 18, 2024
13 tasks
Accessor macro on subscript crashes in SILGen 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 declarations Feature: declarations SILGen Area → compiler: The SIL generation stage subscript Feature: Subscript declarations swift macro Feature → declarations: Swift `macro` declarations swift 6.0
#70369 opened Dec 11, 2023 by hamishknight updated Jan 24, 2024
[SR-15105] Source compatibility suite: FAIL: siesta, 5.1, cb9c1b, Swift Package: duplicate symbol '_NDR_record' bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself source compatibility suite Flag: An issue that surfaced in the source compatibility suite swift 6.0 TBDGen unexpected error Bug: Unexpected error
#57431 opened Aug 24, 2021 by hamishknight updated Dec 21, 2023
Accessor macro on subscript cannot find instance members bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself name lookup Area → compiler → type checker: Name lookup swift macro Feature → declarations: Swift `macro` declarations
#70368 opened Dec 11, 2023 by hamishknight updated Dec 11, 2023
Cannot use throwing function in autoclosure property wrapper initializer @autoclosure Feature → attributes: the @autoclosure type attribute bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself property wrappers Feature: property wrappers type checker Area → compiler: Semantic analysis
#70091 opened Nov 29, 2023 by hamishknight updated Nov 29, 2023
Nested do-catch does not preserve rethrowing bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself control transfer statements Feature → statements: control transfer statements error handling statements Feature: statements swift 6.0 throw Feature → error handling: Throw statements type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#68824 opened Sep 28, 2023 by hamishknight updated Oct 22, 2023
DefiniteInitialization treats the destination of checked_cast_addr_br as a use rather than an initialization bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. definite initialization SIL SILOptimizer Area → compiler: SIL optimization passes
#68802 opened Sep 27, 2023 by hamishknight updated Sep 27, 2023
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 updated Aug 13, 2023
Avoid type-checking case bodies when doing solver-based completion for the pattern code completion Area → source tooling: code completion compiler The Swift compiler in itself performance
#67621 opened Jul 31, 2023 by hamishknight updated Jul 31, 2023
Improve enum element pattern matching diagnostics when the arity of arguments mismatch bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. diagnostics QoI Bug: Diagnostics Quality of Implementation pattern matching Feature: pattern matching type checker Area → compiler: Semantic analysis
#66750 opened Jun 19, 2023 by hamishknight updated Jun 19, 2023
Index reference to constructor on archetype should be dynamic bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. conformances Feature → protocol: protocol conformances generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types indexing Area → source tooling: AST indexing protocol Feature → type declarations: Protocol declarations source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#65614 opened May 3, 2023 by hamishknight updated May 14, 2023
Improve diagnostic when attempting to use += to append a single element 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 expressions Feature: expressions improvement operators Feature: operators swift 5.9 type checker Area → compiler: Semantic analysis
#65609 opened May 3, 2023 by hamishknight updated May 5, 2023
Bad diagnostic when pattern matching nil that cannot be inferred 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 expressions Feature: expressions operators Feature: operators swift 5.9 type checker Area → compiler: Semantic analysis type inference Feature: type inference
#64279 opened Mar 10, 2023 by hamishknight updated Apr 29, 2023
[SR-10491] AST Verifier crash on IUO unwrap through AnyObject lookup 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 type checker Area → compiler: Semantic analysis
#52891 opened Apr 16, 2019 by hamishknight updated Apr 17, 2023
Completion on coercion in #selector crashes compiler 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 source tooling Area: IDE support, SourceKit, and other source tooling
#60742 opened Aug 24, 2022 by hamishknight updated Apr 17, 2023
Bad diagnostic when attempting to use as? in a pattern 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 diagnostics QoI Bug: Diagnostics Quality of Implementation pattern matching Feature: pattern matching patterns Feature: patterns swift 5.9
#65117 opened Apr 12, 2023 by hamishknight updated Apr 13, 2023
Profiler ignores Never returning functions bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code coverage Area → source tooling: code coverage compiler The Swift compiler in itself Never Area → standard library: The `Never` type source tooling Area: IDE support, SourceKit, and other source tooling swift 5.7 unexpected behavior Bug: Unexpected behavior or incorrect output
#61487 opened Oct 7, 2022 by hamishknight updated Apr 11, 2023
Handle patterns for argument list related diagnostics bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. diagnostics QoI Bug: Diagnostics Quality of Implementation
#65062 opened Apr 11, 2023 by hamishknight updated Apr 11, 2023
Bad diagnostic when attempting to catch a concrete Equatable error 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 error handling pattern matching Feature: pattern matching swift 5.9 type checker Area → compiler: Semantic analysis
#63459 opened Feb 6, 2023 by hamishknight updated Feb 6, 2023
Rethrows checking allows invalid try in nested function accepts invalid Bug: Accepts invalid 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 error handling run-time crash Bug → crash: Swift code crashed during execution type checker Area → compiler: Semantic analysis
#63191 opened Jan 24, 2023 by hamishknight updated Jan 25, 2023
[SR-6714] Runtime crash when passing an array of mutable pointers to a parameter expecting an array of immutable pointers 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 run-time crash Bug → crash: Swift code crashed during execution type checker Area → compiler: Semantic analysis
#49263 opened Jan 8, 2018 by hamishknight updated Dec 12, 2022
[SR-8825] Metatype type joining not working in a member call on a IUO base access control Feature → modifiers: Access control and access levels bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression swift 4.2 type checker Area → compiler: Semantic analysis
#51333 opened Sep 24, 2018 by hamishknight updated Nov 19, 2022
[SR-8153] Can no longer inherit from a typealias'd protocol composition containing AnyObject bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression swift 4.0 type checker Area → compiler: Semantic analysis
#50685 opened Jun 29, 2018 by hamishknight updated Nov 19, 2022
[SR-15106] Source compatibility suite: FAIL: Evergreen, 4.0, ce0d24, Evergreen, generic/platform=macOS: cannot find 'kInternetEventClass' in scope bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#57432 opened Aug 24, 2021 by hamishknight updated Aug 10, 2022
[SR-15264] Tuple construction should preserve full expression in type-checked AST bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
#57586 opened Sep 30, 2021 by hamishknight updated Apr 25, 2022
ProTip! Type g i on any issue or pull request to go back to the issue listing page.