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
Label
Projects
Milestones
Assignee
Sort
Issues list
SILGen crash on 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
try repeat
/await repeat
bug
#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 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
makeIterator
call on conflicting generic arguments in for
-in
sequence expression
bug
#72818
opened Apr 3, 2024 by
AnthonyLatsis
No 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
any
syntax migration error for protocol qualifier
bug
#72678
opened Mar 28, 2024 by
AnthonyLatsis
@discardableResult
works with try
and try!
, but not try?
attributes
#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
Contributor Experience: Automate the Xcode workspace generation process
contributor experience
generated Xcode project
python
task
#70604
opened Dec 22, 2023 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 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
repeat each t
arg to (repeat each T)
param
bug
#69245
opened Oct 18, 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
#65843
opened May 10, 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 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
wrappedValue
bug
#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
Bad diagnostic when inheriting from class in extension
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
extension
Feature → declarations: `extension` declarations
good first issue
Good for newcomers
inheritance
Feature → type declarations → class: Subclassing and inheritance of class members
swift 5.9
#64903
opened Apr 4, 2023 by
AnthonyLatsis
Casting to constrained existential in correct availability context fails at link time on older OSs
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
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
expressions
Feature: expressions
IRGen
LLVM IR generation
swift 5.9
unexpected error
Bug: Unexpected error
#64858
opened Apr 3, 2023 by
AnthonyLatsis
Provide tailored error and fix-it when result builder attribute is applied to type
attributes
Feature: Declaration and type attributes
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
fix-its
Feature: diagnostic fix-its
improvement
result builders
Feature: Result builders
#64474
opened Mar 19, 2023 by
AnthonyLatsis
Bad diagnostic for missing 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
result builders
Feature: Result builders
swift 5.9
switch
Feature → statements: 'switch' statements
type checker
Area → compiler: Semantic analysis
buildEither(second:)
implementation when using a switch
bug
#64142
opened Mar 6, 2023 by
AnthonyLatsis
Previous Next
ProTip!
Follow long discussions with comments:>50.