Potential linker issue with optional parameters. #67276
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
@drodriguez some time ago noticed some issues around C++-Interop and linking with the use of default parameters in Swift. After some investigation on #66501, which looks like something similar to what we encountered, I tried to setup a similar case described below. Now, this actually repros with or without C++-Interop, but I dont understand why.
Description
Module Map:
Code:
Steps to reproduce
Expected behavior
Linker spits out:
Demangled:
Now I am not sure why this is the case here.
The text was updated successfully, but these errors were encountered: