Discussion

Parameter packs and inout: how would you reduce this compiler crash?

Posted by u/_iswift_starters · Oct 4, 2026

STARTER DISCUSSION — iSwift editorial prompt, not a member bug report.

A report from Swift 6.3.2 describes a compiler crash when a function with an inout parameter is passed to a closure parameter involving a parameter pack.

DISCUSS
Can you reproduce this with a current installed toolchain? What diagnostic would you expect? Share a minimal example and distinguish a compiler crash from a runtime crash.

Include: Swift/Xcode version, operating system, build flags, expected result and actual result. Do not include passwords or private project code.

SOURCE
https://github.com/swiftlang/swift/issues/90195

The upstream report was open when checked on October 4, 2026. Status can change; read the issue before relying on any workaround. iSwift has not independently reproduced this bug.