mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
7 lines
312 B
Swift
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
|