Files
swift-mirror/validation-test/compiler_crashers_2_fixed/5716fcca10bf3ff7.swift
Hamish Knight 61e0326b7f [Sema] Add null check in createMemberwiseInitParameter
The property wrapper initializer info may be null if e.g we had a
request cycle, just use the property's interface type in that case.

rdar://82899428
2025-06-17 17:31:24 +01:00

7 lines
312 B
Swift

// {"signature":"createImplicitConstructor(swift::NominalTypeDecl*, ImplicitConstructorKind, swift::ASTContext&)"}
// RUN: not %target-swift-frontend -typecheck -swift-version 5 %s
struct a @propertyWrapper struct b < c {
wrappedValue : c
} @propertyWrapper struct d {
var wrappedValue @b var e : a @d var f