[SR-13832] Swift 5.3 generates incorrect swift interface file for classes on non-inherited constructors #56231
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
library evolution
Feature: library evolution (umbrella feature for features that facilitate resilient libraries)
Additional Detail from JIRA
md5: 6ea16f102731f294174d3caaac759dd2
is duplicated by:
Issue Description:
Given a base class with 2 constructors and a subclass that overrides 1 of them, the swift interface file incorrectly shows the subclass as having 2 constructors.
compile with emit-module-interface and enable-library-evolution:
with the resulting .swiftinterface file:
However `init(a: Swift.Int32)` is not part of `Mid` and will fail if you try to use it.
The text was updated successfully, but these errors were encountered: