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

SILGen crash on try repeat/await repeat 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 pack expansions Feature → expressions: Pack expansion expressions SILGen Area → compiler: The SIL generation stage swift 6.0 variadic generics Feature → generics: Variadic generics
#73263 opened Apr 25, 2024 by AnthonyLatsis
SILGen crash on using member type accessed through metatype value 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 metatypes Feature → types: Metatypes nested types Feature: nested types SILGen Area → compiler: The SIL generation stage swift 6.0 types Feature: types
#73251 opened Apr 25, 2024 by AnthonyLatsis
Redundant errors in synthesized makeIterator call on conflicting generic arguments in for-in sequence expression 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 for-in loops Feature: for-in loops generics Feature: generic declarations and types statements Feature: statements swift 6.0 type checker Area → compiler: Semantic analysis
#72818 opened Apr 3, 2024 by AnthonyLatsis
No any syntax migration error for protocol qualifier 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 qualified identifier types Feature → types: Qualified identifier types swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#72678 opened Mar 28, 2024 by AnthonyLatsis
Bad diagnostic for any P! 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 good first issue Good for newcomers implicitly unwrapped optionals Feature → types: Implicitly unwrapped optional types, aka IUO swift 6.0 type checker Area → compiler: Semantic analysis TypeResolver types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#72662 opened Mar 28, 2024 by AnthonyLatsis
☂️ Umbrella issue for bugs in closure pack expansion patterns bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler in itself expressions Feature: expressions generics Feature: generic declarations and types pack expansions Feature → expressions: Pack expansion expressions swift 6.0 type checker Area → compiler: Semantic analysis ☂️ umbrella issue Flag: An umbrella issue variadic generics Feature → generics: Variadic generics
#72153 opened Mar 7, 2024 by AnthonyLatsis
5 tasks
@discardableResult works with try and try!, but not try? 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 @discardableResult Feature → attributes: The @discardableResult attribute error handling expressions Feature: expressions swift 6.0 type checker Area → compiler: Semantic analysis unexpected warning Bug: Unexpected warning
#71870 opened Feb 24, 2024 by AnthonyLatsis
Requirement machine internal error on simple recursive same-type requirement 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 generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types internal error Bug: Internal error swift 6.0 type checker Area → compiler: Semantic analysis
#70875 opened Jan 12, 2024 by AnthonyLatsis
Bad diagnostic for pack type count mismatch in function call bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. call expressions Feature → expressions: Call expressions compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation expressions Feature: expressions generics Feature: generic declarations and types swift 6.0 type checker Area → compiler: Semantic analysis type inference Feature: type inference variadic generics Feature → generics: Variadic generics
#70228 opened Dec 5, 2023 by AnthonyLatsis
Property of function type containing pack expansion cannot be used with identical contextual type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself function types Feature → types: function types generics Feature: generic declarations and types properties Feature: properties swift 6.0 type checker Area → compiler: Semantic analysis types Feature: types unexpected error Bug: Unexpected error variadic generics Feature → generics: Variadic generics
#69390 opened Oct 25, 2023 by AnthonyLatsis
Closure as repetition pattern in pack expansion not allowed bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. closures Feature: closures compiler The Swift compiler in itself expressions Feature: expressions generics Feature: generic declarations and types pack expansions Feature → expressions: Pack expansion expressions swift 6.0 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error variadic generics Feature → generics: Variadic generics
#69282 opened Oct 19, 2023 by AnthonyLatsis
Sema crash when passing repeat each t arg to (repeat each T) param 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 generics Feature: generic declarations and types swift 6.0 tuple types Feature → types: Tuple types type checker Area → compiler: Semantic analysis types Feature: types variadic generics Feature → generics: Variadic generics
#69245 opened Oct 18, 2023 by AnthonyLatsis
Bad diagnostic for initialization of property wrapper with custom init 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 property wrappers Feature: property wrappers swift 6.0 type checker Area → compiler: Semantic analysis
#69066 opened Oct 9, 2023 by AnthonyLatsis
Compiler crash type-checking force-unwrap of variable of undefined optional type 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 force-value Feature → expressions: Force-value aka force-unwrap expression swift 5.9 type checker Area → compiler: Semantic analysis
#65987 opened May 17, 2023 by AnthonyLatsis
Mangled singleton existential metatypes decode to constraint type metatypes bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself demangling Area → compiler: The `libswiftDemangling` library existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values metatypes Feature → types: Metatypes swift 5.9 types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#65880 opened May 12, 2023 by AnthonyLatsis
Mangled existential types decode to constraint types bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself demangling Area → compiler: The `libswiftDemangling` library existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values swift 5.9 types Feature: types unexpected behavior Bug: Unexpected behavior or incorrect output
#65879 opened May 12, 2023 by AnthonyLatsis
[.]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
Code completion: Stop suggesting old-style protocol metatype syntax in Swift 6 mode 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
#65699 opened May 5, 2023 by AnthonyLatsis
Existential member type signatures not projected (covariant erasure) in code completion suggestions bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion existential member accesses Feature → existentials: existential member accesses existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values expressions Feature: expressions source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#65698 opened May 5, 2023 by AnthonyLatsis
Inaccessible existential members suggested in code completion bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion existential member accesses Feature → existentials: existential member accesses existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values expressions Feature: expressions source tooling Area: IDE support, SourceKit, and other source tooling swift 5.9 unexpected behavior Bug: Unexpected behavior or incorrect output
#65696 opened May 5, 2023 by AnthonyLatsis
Property-wrapped parameter crashes if property wrapper is missing wrappedValue 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 func Feature → declarations: Functions function parameters Feature → declarations: function parameters property wrappers Feature: property wrappers swift 5.9 type checker Area → compiler: Semantic analysis
#65640 opened May 4, 2023 by AnthonyLatsis
Bad diagnostic when matching tuple pattern to existential 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 pattern matching Feature: pattern matching patterns Feature: patterns swift 5.9 tuples Feature: tuples type checker Area → compiler: Semantic analysis
#65243 opened Apr 18, 2023 by AnthonyLatsis
Default argument not type-checked causing crash 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 default arguments Feature: default arguments for value parameters generics Feature: generic declarations and types swift 5.9 type checker Area → compiler: Semantic analysis verifier
#65090 opened Apr 12, 2023 by AnthonyLatsis
Default argument establishing type relationship between type parameters not rejected accepts invalid Bug: Accepts invalid bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself default arguments Feature: default arguments for value parameters generics Feature: generic declarations and types swift 5.9 type checker Area → compiler: Semantic analysis type inference Feature: type inference
#65089 opened Apr 12, 2023 by AnthonyLatsis
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.