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

any does not support combined protocols with primary associated type without a typealias bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values parameterized protocols Feature → protocol: protocols with primary associated types protocol compositions Feature → types: protocol composition types swift 5.9 type checker Area → compiler: Semantic analysis TypeResolver unexpected error Bug: Unexpected error
#63877 opened Feb 24, 2023 by rnapier
Codable requires a redundant constraint for nested generic types bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. Codable Area → standard library: `Codable` and co. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances derived conformances Feature → protocol → conformances: derived conformances aka synthesized conformances extension Feature → declarations: `extension` declarations generics Feature: generic declarations and types nested types Feature: nested types swift 5.7 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#63718 opened Feb 16, 2023 by JessyCatterwaul
Wrong behavior of a constrained protocol type in the inheritance clause of a concrete type associated type inference bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances parameterized protocols Feature → protocol: protocols with primary associated types protocol Feature → type declarations: Protocol declarations swift 5.9 type checker Area → compiler: Semantic analysis
#63377 opened Feb 2, 2023 by alberussoftware
Can't inherit from a protocol with primary associated types using the "generic" notation associated type inference bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances parameterized protocols Feature → protocol: protocols with primary associated types swift 5.9 type checker Area → compiler: Semantic analysis unexpected error Bug: Unexpected error
#62906 opened Jan 7, 2023 by tgrapperon
swift-frontend crashes trying to appendAnyProtocolConformance bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances crash Bug: A crash, i.e., an abnormal termination of software mangling Area → compiler: Mangling swift 5.7
#62788 opened Dec 28, 2022 by tulushev
Type deduction nil => (some X)?; 'τ_0_0' in diagnostic 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 generics Feature: generic declarations and types literals Feature → expressions: Literals such as an integer or string literal opaque types Feature → types: opaque types swift 5.7 type checker Area → compiler: Semantic analysis type inference Feature: type inference
#62787 opened Dec 28, 2022 by dabrahams
Malformed Rewrite Rule when building PenguinGraphs 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 type checker Area → compiler: Semantic analysis
#62660 opened Dec 17, 2022 by ProfFan
Unexpected 'Same-type constraint is recursive' error bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types
#62314 opened Nov 30, 2022 by ffried
Crash when type of closure has superclass-bound existential containing a function type containing a type parameter 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 SILGen Area → compiler: The SIL generation stage
#62061 opened Nov 11, 2022 by slavapestov
Calling a protocol method through a subclass uses base class's conformance, instantiates wrong type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances
#61946 opened Nov 5, 2022 by jrose-signal
Concrete implementation of a generic protocol does not inherit the type aliases from the generic protocol associated type inference bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself conformances Feature → protocol: protocol conformances type checker Area → compiler: Semantic analysis
#61712 opened Oct 25, 2022 by coinbump
Automatic initializer inheritance broken for open classes outside of defining module bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself inheritance Feature → type declarations → class: Subclassing and inheritance of class members type checker Area → compiler: Semantic analysis
#61508 opened Oct 8, 2022 by hybridcattt
Nested constrained opaque result type example from SE-0346 doesn't compile bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself generics Feature: generic declarations and types type checker Area → compiler: Semantic analysis
#61409 opened Oct 3, 2022 by dnadoba
Runtime crash "outlined init with take of any ..." 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 optimized only Flag: An issue whose reproduction requires optimized compilation parameterized protocols Feature → protocol: protocols with primary associated types run-time crash Bug → crash: Swift code crashed during execution
#61403 opened Oct 1, 2022 by plamenterziev
Swift crash when creating a concrete instance from a protocol extension with an associated type accepts invalid Bug: Accepts invalid bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself existentials Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values swift 5.9 type checker Area → compiler: Semantic analysis
#61357 opened Sep 29, 2022 by kerrmarin
Circular reference error with 5.7 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#61152 opened Sep 16, 2022 by DevAndArtist
Associated type of base protocol can not be inferred bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#61077 opened Sep 13, 2022 by mbrandonw
Compiler Crash on nested associatedtype (5.7 XCode beta6) 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 generic constraints Feature → generics: generic constraints generics Feature: generic declarations and types swift 5.9 type checker Area → compiler: Semantic analysis
#60900 opened Sep 1, 2022 by arshiacont
swiftc crash: subtype conversion in MetatypeConversionExpr is invalid: P<Int> to T bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself type checker Area → compiler: Semantic analysis
#60552 opened Aug 14, 2022 by mayoff
Assertion `!type->hasTypeVariable()' with a primary associated type on a protocol bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself constrained existentials Feature → existentials: constrained existentials such as 'any Collection<Int>' crash Bug: A crash, i.e., an abnormal termination of software 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 swift 5.9 type checker Area → compiler: Semantic analysis
#60547 opened Aug 13, 2022 by langtutheky
Bug with opaque result type substitutions bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#60430 opened Aug 6, 2022 by slavapestov
Compiler hangs for local lazy variable with try bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
#60129 opened Jul 19, 2022 by vojtarylko
Compiler crashes for lazy async local variable bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. concurrency Feature: umbrella label for concurrency language features
#60128 opened Jul 19, 2022 by vojtarylko
Disallow implicit existential opening when calling function with an opaque result type bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself type checker Area → compiler: Semantic analysis
#59840 opened Jul 1, 2022 by karwa
Compiler crash in Swift 5.7 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. SILGen Area → compiler: The SIL generation stage
#59738 opened Jun 27, 2022 by Frizlab
ProTip! Updated in the last three days: updated:>2024-05-31.