File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SwiftProtobufPluginLibrary Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ public final class EnumValueDescriptor {
534534 public let number : Int32
535535
536536 /// The .proto file in which this message type was defined.
537- public unowned var file : FileDescriptor ! { return enumType. file }
537+ public var file : FileDescriptor ! { return enumType. file }
538538 /// The type of this value.
539539 public private( set) unowned var enumType : EnumDescriptor !
540540
@@ -579,7 +579,7 @@ public final class OneofDescriptor {
579579 }
580580
581581 /// The .proto file in which this oneof type was defined.
582- public unowned var file : FileDescriptor ! { return containingType. file }
582+ public var file : FileDescriptor ! { return containingType. file }
583583 /// If this Descriptor of the message that defines this oneof.
584584 public private( set) unowned var containingType : Descriptor !
585585
@@ -884,7 +884,7 @@ public final class MethodDescriptor {
884884 public let index : Int
885885
886886 /// The .proto file in which this service was defined
887- public unowned var file : FileDescriptor ! { return service. file }
887+ public var file : FileDescriptor ! { return service. file }
888888 /// The service tha defines this method.
889889 public private( set) unowned var service : ServiceDescriptor !
890890
You can’t perform that action at this time.
0 commit comments