File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
test/Serialization/Recovery Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5306,7 +5306,7 @@ llvm::Error DeclDeserializer::deserializeDeclCommon() {
5306
5306
5307
5307
// Do a quick check to see if this attribute is a move only attribute. If
5308
5308
// so, emit a nice error if we don't have experimental move only enabled.
5309
- if (Attr->getKind () == DeclAttrKind::DAK_MoveOnly &&
5309
+ if (Attr && Attr ->getKind () == DeclAttrKind::DAK_MoveOnly &&
5310
5310
!MF.getContext ().LangOpts .Features .contains (Feature::MoveOnly)) {
5311
5311
MF.getContext ().Diags .diagnose (
5312
5312
SourceLoc (),
Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ public struct PublicStruct: LibProtocol {
80
80
public init ( ) { }
81
81
82
82
public var nonWrappedVar : String = " some text "
83
+
84
+ @IoiPropertyWrapper ( " some text " )
85
+ private var wrappedVar : String
83
86
}
84
87
85
88
struct StructWithOverride : HiddenProtocolWithOverride {
You can’t perform that action at this time.
0 commit comments