[cxx-interop] Out-of-line overloaded operators are printed twice in the module interface #62727
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
compiler
The Swift compiler in itself
textual interfaces
See
test/Interop/Cxx/namespace/Inputs/free-functions.h
:In the generated module interface,
operator+
is printed twice: once as a member ofenum FunctionsNS1
, and once again as a global function. The operator is actually imported as a global function, and Swift should only print it as a global function.(
test/Interop/Cxx/namespace/free-functions-module-interface.swift
)The text was updated successfully, but these errors were encountered: