SIL verification failed: result of struct_extract does not match type of field #71708
Labels
assertion failure
Bug → crash: An assertion failure
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
function parameters
Feature → declarations: function parameters
ownership
Feature: Ownership modifiers and semantics
SIL
SILOptimizer
Area → compiler: SIL optimization passes
swift 6.0
verifier
Description
this crashes 5.9.2 with assertions enabled
Reproduction
Stack dump
Expected behavior
it should not crash
Environment
Swift version 5.9.2-dev (LLVM 2b42c5ce063a374, Swift 9067148)
Target: x86_64-unknown-linux-gnu
Additional information
the unrelated class and
convenienceinit really are required to reproduce this crash, although i can’t imagine how they could possibly be involved.Fiddle
this does not crash on 5.10, or on main.
The text was updated successfully, but these errors were encountered: