Variadic generic function crash with inlining, tuple with 1 param or using inout parameter #78425
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
The crash appears only with certain combination of circumstances.
Reproduction
Stack dump
Expected behavior
successful compilation
Environment
Swift 6, Xcode 16.2
Additional information
No crash when casting to
as (Int.Type, Int.self)
instead ofas (Int.Type)
No crash when += is not done –
externalCount += _countVariadicParams_for(repeat (each L).self)
vs_countVariadicParams_for(repeat (each L).self)
No crash without @inline(__always)
The text was updated successfully, but these errors were encountered: