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
Missing completion for bound variable in switch expression
code completion
Area → source tooling: code completion
compiler
The Swift compiler in itself
expressions
Feature: expressions
source tooling
Area: IDE support, SourceKit, and other source tooling
swift 6.0
switch
Feature → statements: 'switch' statements
unexpected behavior
Bug: Unexpected behavior or incorrect output
#71384
by hamishknight
was closed Feb 9, 2024
Compiler crash on switch in branch of if expression
assertion failure
Bug → crash: An assertion failure
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
type checker
Area → compiler: Semantic analysis
#71282
by hamishknight
was closed Feb 1, 2024
Bogus diagnostic for explicit return in local function within closure
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
#71273
by hamishknight
was closed Jan 31, 2024
Wrong initializer called for stored property initialization
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
closures
Feature: closures
compiler
The Swift compiler in itself
duplicate
Resolution: Duplicates another issue
expressions
Feature: expressions
let & var
Feature: constant and variable declarations
mangling
Area → compiler: Mangling
swift 6.0
unexpected behavior
Bug: Unexpected behavior or incorrect output
#70931
by hamishknight
was closed Jan 17, 2024
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
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
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
Nested 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
do-catch
does not preserve rethrowing
bug
#68824
opened Sep 28, 2023 by
hamishknight
DefiniteInitialization treats the destination of A deviation from expected or documented behavior. Also: expected but undesirable behavior.
definite initialization
SIL
SILOptimizer
Area → compiler: SIL optimization passes
checked_cast_addr_br
as a use rather than an initialization
bug
#68802
opened Sep 27, 2023 by
hamishknight
Better detect if we're in a pattern before suggesting completions for 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
let
and var
bug
#67705
opened Aug 3, 2023 by
hamishknight
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
Compiler crash attempting to type-check invalid pattern match of 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
failure()
bug
#66752
by hamishknight
was closed Jun 20, 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
Property wrapper on local variable cannot be used with its projected value in ExprPattern
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
patterns
Feature: patterns
type checker
Area → compiler: Semantic analysis
#66561
by hamishknight
was closed Jun 13, 2023
Invalid binding in ExprPattern crashes compiler
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
patterns
Feature: patterns
type checker
Area → compiler: Semantic analysis
#66553
by hamishknight
was closed Jun 16, 2023
Assigning to 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
SILGen
Area → compiler: The SIL generation stage
swift 5.9
switch
Feature → statements: 'switch' statements
self
in a Never
initializer using a switch
expression crashes the compiler
assertion failure
#66490
by hamishknight
was closed Jun 12, 2023
if/switch expressions aren't allowed with an optional chain assignment
assignments
Feature → expressions: assignments
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
expressions
Feature: expressions
if else
Feature → statements: 'if' statements
optional chaining
Feature → expressions: optional chaining
swift 5.9
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
#65906
by hamishknight
was closed May 15, 2023
Bad diagnostic for attempting to match non-tuple in array literal as tuple
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
pattern matching
Feature: pattern matching
patterns
Feature: patterns
statements
Feature: statements
swift 5.9
tuples
Feature: tuples
type checker
Area → compiler: Semantic analysis
#65650
by hamishknight
was closed May 4, 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
Improve diagnostic when attempting to use 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
+=
to append a single element
bug
#65609
opened May 3, 2023 by
hamishknight
Bad diagnostic when attempting to use 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
as?
in a pattern
bug
#65117
opened Apr 12, 2023 by
hamishknight
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
Bad diagnostic when pattern matching 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
nil
that cannot be inferred
bug
#64279
opened Mar 10, 2023 by
hamishknight
Improve out-of-place binding diagnostic to reflect whether the binding was written as 'var' or 'let'
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
good first issue
Good for newcomers
pattern matching
Feature: pattern matching
swift 5.9
type checker
Area → compiler: Semantic analysis
#63993
by hamishknight
was closed Mar 19, 2023
Int-as-Bool diagnostic suggesting 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
good first issue
Good for newcomers
literals
Feature → expressions: Literals such as an integer or string literal
type checker
Area → compiler: Semantic analysis
!= 0
should ignore literals
bug
#63753
by hamishknight
was closed Feb 21, 2023
Previous Next
ProTip!
Mix and match filters to narrow down what you’re looking for.