Compiler crash in pack iteration #71921
Labels
assertion failure
Bug → crash: An assertion failure
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
closures
Feature: closures
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
pack expansions
Feature → expressions: Pack expansion expressions
parameter packs
Feature → generics: Parameter packs
swift 6.0
type checker
Area → compiler: Semantic analysis
verifier
Description
Simple pack iteration snippet crashes the compiler.
Reproduction
Stack dump
Expected behavior
This code compiles or an actionable diagnostic message is emitted
Environment
Apple Swift version 5.11-dev (LLVM 87ace14daa2139a, Swift 8bb6846)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: