-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Issues: swiftlang/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
Variadic-generic opaque return types produce malformed module interfaces
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
library evolution
Feature: library evolution (umbrella feature for features that facilitate resilient libraries)
opaque result types
Feature → types → opaque types: opaque result types
parameter packs
Feature → generics: Parameter packs
swift 6.1
unexpected behavior
Bug: Unexpected behavior or incorrect output
#81455
opened May 12, 2025 by
karwa
🌸6.1 [ClangImporter] Fix import of aliased enum cases
🍒 release cherry pick
Flag: Release branch cherry picks
swift 6.1
Compiler crash (regression) relating to typed throws and primary associated types
async & await
Feature → concurrency: asynchronous function aka the async/await pattern
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
concurrency
Feature: umbrella label for concurrency language features
crash
Bug: A crash, i.e., an abnormal termination of software
error handling
IRGen
LLVM IR generation
swift 6.1
throws & rethrows
Feature → error handling: throws & rethrows
typed throws
Feature → error handling → throws & rethrows: Typed throws
#80732
opened Apr 10, 2025 by
lawrence-forooghian
[6.2, 6.1 regression] Misused A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
regression
swift 6.1
swift 6.2
type checker
Area → compiler: Semantic analysis
isolated
keyword crashes the compiler.
bug
#80363
opened Mar 28, 2025 by
YOCKOW
Error A deviation from expected or documented behavior. Also: expected but undesirable behavior.
closures
Feature: closures
compiler
The Swift compiler itself
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
expressions
Feature: expressions
generics
Feature: generic declarations and types
implicit existential opening
Feature → existentials: implicit opening of existentials when passed to parameters of generic type
swift 6.1
type checker
Area → compiler: Semantic analysis
type 'any P' cannot conform to 'P'
fixed by unrelated statement
bug
#78436
opened Jan 4, 2025 by
SimplyDanny
Compiler crash attempting to call a function with a pack archetype expansion parameter
assertion failure
Bug → crash: An assertion failure
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
expressions
Feature: expressions
function types
Feature → types: function types
generics
Feature: generic declarations and types
parameter packs
Feature → generics: Parameter packs
swift 6.1
type checker
Area → compiler: Semantic analysis
types
Feature: types
#78396
opened Dec 31, 2024 by
hamishknight
Crash on invalid nested call to variadic generic function
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
expressions
Feature: expressions
generics
Feature: generic declarations and types
parameter packs
Feature → generics: Parameter packs
swift 6.1
type checker
Area → compiler: Semantic analysis
#78156
opened Dec 13, 2024 by
AnthonyLatsis
Crash when opening existential of type AnyObject
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
expressions
Feature: expressions
implicit existential opening
Feature → existentials: implicit opening of existentials when passed to parameters of generic type
SILGen
Area → compiler: The SIL generation stage
swift 6.1
types
Feature: types
#77847
opened Nov 26, 2024 by
AdamCmiel
Crash on illegal existential method reference containing undefined type in signature
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
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
function references
Feature: function references as in 'foo(bar:baz:)'
swift 6.1
type checker
Area → compiler: Semantic analysis
types
Feature: types
#77840
opened Nov 26, 2024 by
AnthonyLatsis
Diagnostic for A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
declarations
Feature: declarations
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
mutating
Feature → declarations → functions: Mutating functions
static declarations
Feature → declarations: Static declarations
swift 6.1
type checker
Area → compiler: Semantic analysis
static nonmutating
should be improved
bug
#77835
opened Nov 25, 2024 by
AnthonyLatsis
Confusing error on cross-module access of isolated state
actor isolation
Feature → concurrency: Actor isolation
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
concurrency
Feature: umbrella label for concurrency language features
diagnostics QoI
Bug: Diagnostics Quality of Implementation
multiple modules
Flag: An issue whose reproduction requires multiple modules
swift 6.1
type checker
Area → compiler: Semantic analysis
#76909
opened Oct 8, 2024 by
AnthonyLatsis
It’s possible to write arbitrary text after specifying the @MainActor for a closure.
accepts invalid
Bug: Accepts invalid
actor isolation
Feature → concurrency: Actor isolation
attributes
Feature: Declaration and type attributes
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
concurrency
Feature: umbrella label for concurrency language features
swift 6.1
type checker
Area → compiler: Semantic analysis
#76540
opened Sep 18, 2024 by
omochi
Crash on unnamed property wrapped function parameter
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
function parameters
Feature → declarations: function parameters
property wrappers
Feature: property wrappers
SILGen
Area → compiler: The SIL generation stage
swift 6.1
#76308
opened Sep 6, 2024 by
AnthonyLatsis
Compiler crash with parameter pack in subscript
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
expressions
Feature: expressions
generics
Feature: generic declarations and types
parameter packs
Feature → generics: Parameter packs
SILGen
Area → compiler: The SIL generation stage
subscript
Feature: Subscript declarations
swift 6.1
#75735
opened Aug 6, 2024 by
xAlien95
Embedded Swift: Cannot convert String to Int
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
embedded
Embedded Swift
standard library
Area: Standard library umbrella
swift 6.1
unexpected error
Bug: Unexpected error
#75730
opened Aug 6, 2024 by
michael-jan
Embedded Swift compiler emits explicit loop instead of memmove()
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
embedded
Embedded Swift
performance
SILOptimizer
Area → compiler: SIL optimization passes
swift 6.1
unexpected behavior
Bug: Unexpected behavior or incorrect output
#75729
opened Aug 6, 2024 by
michael-jan
Source compat project 'vapor_websocket-kit' fails on a compilation error
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
expressions
Feature: expressions
source compatibility suite
Flag: An issue that surfaced in the source compatibility suite
swift 6.1
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
#75656
opened Aug 2, 2024 by
xymus
Source compat project 'vapor_sql-kit' fails on a compilation error
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
not a bug
Resolution → not a bug: Reported as a bug but turned out to be expected behavior or programmer error
source compatibility suite
Flag: An issue that surfaced in the source compatibility suite
swift 6.1
transfer candidate
The issue may belong in another repository
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
#75655
opened Aug 2, 2024 by
xymus
Same-element requirements are not yet supported
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
generic constraints
Feature → generics: generic constraints
generics
Feature: generic declarations and types
parameter packs
Feature → generics: Parameter packs
swift 6.1
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
#74979
opened Jul 5, 2024 by
rayx
Typo of The Swift compiler itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
improvement
parser
Area → compiler: The legacy C++ parser
swift 6.1
types
Feature: types
any
vs Any
resulted in an unhelpful error message
compiler
#73928
opened May 27, 2024 by
mattmassicotte
Compiler crash doing weird things with primary associated types
assertion failure
Bug → crash: An assertion failure
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
expressions
Feature: expressions
generic constraints
Feature → generics: generic constraints
generics
Feature: generic declarations and types
implicit existential opening
Feature → existentials: implicit opening of existentials when passed to parameters of generic type
swift 6.1
type checker
Area → compiler: Semantic analysis
types
Feature: types
#61934
opened Nov 4, 2022 by
tominsam
Disallow implicit existential opening when calling function with an opaque result 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 itself
crash
Bug: A crash, i.e., an abnormal termination of software
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
expressions
Feature: expressions
generics
Feature: generic declarations and types
implicit existential opening
Feature → existentials: implicit opening of existentials when passed to parameters of generic type
opaque result types
Feature → types → opaque types: opaque result types
opaque types
Feature → types: opaque types
swift 6.1
type checker
Area → compiler: Semantic analysis
types
Feature: types
#59840
opened Jul 1, 2022 by
karwa
[SR-14399] Compiler crash with Self as closure parameter
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
Self in class
Feature → types: The 'Self' type in classes
SILGen
Area → compiler: The SIL generation stage
swift 6.1
type checker
Area → compiler: Semantic analysis
#56757
opened Mar 24, 2021 by
theblixguy
[SR-10931] Optional initialization inconsistent between Optional<T> vs T?
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
default initialization
Feature: Default initialization of variables
Optional
Area → standard library: The `Optional` type
swift 6.1
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
#53322
opened Jun 14, 2019 by
masters3d
ProTip!
Exclude everything labeled
bug
with -label:bug.