Cxx to Swift interop - issue with Array and Int type - "type cannot be used in a Swift generic context" #63452
Labels
Array
Area → standard library: The `Array` type
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
compiler
The Swift compiler itself
standard library
Area: Standard library umbrella
Description
Issue when working with Swift Array from C++.
"type cannot be used in a Swift generic context"
Steps to reproduce
Compiling C++ with -std=c++20
Note that using Int64 instead of Int in the Swift code will work calling from C++.
The text was updated successfully, but these errors were encountered: