Regression in Swift 6.0 compiler: crash with passing & to non-inout parameter #73454
Labels
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
Frontend
Area → compiler: Frontend
inout
Feature → types: `inout` types
type checker
Area → compiler: Semantic analysis
Description
There is a crash when compiling existing code from 5.10 with the 6.0 toolchain
Reproduction
Stack dump
Expected behavior
Not crash.
Environment
Apple Swift version 6.0-dev (LLVM 7b8e6346027d2b1, Swift 763421c)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: