// RUN: %target-swift-frontend -emit-ir %s // https://github.com/apple/swift/issues/53454 struct MyText { let label: String let value: V } extension MyText where V == Void { init(_ label: String, defaulted: Int = 17) { self.label = label self.value = () } } struct ImagePulse { @Inspectable(control: { MyText("duration") }) var test: Double = 0 } @propertyWrapper final class Inspectable { var wrappedValue: Value init(wrappedValue initialValue: Value, control: @escaping () -> V) { self.wrappedValue = initialValue } }