Assertion failed: ((!F || opTI->isABICompatibleWith(resTI, *F).isCompatible()) && "Can not convert in between ABI incompatible function types"), function create, file SILInstructions.cpp, line 2649. #71798
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
duplicate
Resolution: Duplicates another issue
function types
Feature → types: function types
generics
Feature: generic declarations and types
implicit conversions
Feature: implicit conversions
opaque result types
Feature → types → opaque types: opaque result types
opaque types
Feature → types: opaque types
SILGen
Area → compiler: The SIL generation stage
swift 5.10
types
Feature: types
Description
No response
Reproduction
This code compiles on 5.9.2:
This code crashes on 5.10:
And 5.11:
Stack dump
Expected behavior
no crash.
Environment
Additional information
No response
The text was updated successfully, but these errors were encountered: