#function behavior differs based on initializer implementation #79663
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
I've noticed that the behavior of
#function
at the type level varies depending on whether the initializer is explicitly implemented or synthesized.Also, when
#function
is used with a mutable ivar, it behaves the same as in theS2
case.Reproduction
Expected behavior
#function
gets resolved consistently regardless of whether the initializer is explicitly implemented or synthesized.Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: