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
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
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
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
Bad diagnostic when attempting to 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
catch
a concrete Equatable error
bug
#63459
opened Feb 6, 2023 by
hamishknight
Rethrows checking allows 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
try
in nested function
accepts invalid
#63191
opened Jan 24, 2023 by
hamishknight
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
13 tasks
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
Completion on coercion in 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
#selector
crashes compiler
bug
#60742
opened Aug 24, 2022 by
hamishknight
[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
[SR-15210] AnyObject init lookup crash
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
#57532
opened Sep 17, 2021 by
hamishknight
[SR-15109] Source compatibility suite: FAIL: Kingfisher & ReactiveKit
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
#57435
opened Aug 24, 2021 by
hamishknight
[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
[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
[SR-15103] Non-deterministic 'could not build C module' for C++ interop tests in Windows CI
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
#57429
opened Aug 23, 2021 by
hamishknight
[SR-15055] Better handle recovery for multiple trailing closures in if 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
#57382
opened Aug 11, 2021 by
hamishknight
Previous Next
ProTip!
Type g p on any issue or pull request to go back to the pull request listing page.