[AutoDiff] SILVerification failure when directly extracting arguments from a tuple received from a function #67402
Labels
assertion failure
Bug → crash: An assertion failure
AutoDiff
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
SILGen
Area → compiler: The SIL generation stage
swift 5.9
verifier
Description
The following code fails to build and causes a compiler crash due to a SILVerification failure. The error message is:
Steps to reproduce
Paste the following code into a Swift file and build by running
swiftc file.swift
.Expected behavior
The code should have compiled successfully.
Environment
Additional Context
g
, like below, in the reproducer makes the code compile successfully.The text was updated successfully, but these errors were encountered: