Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to SwiftPoet 1.6.6 #3171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ protobuf-gradlePlugin = { module = "com.google.protobuf:protobuf-gradle-plugin",
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
protobuf-javaUtil = { module = "com.google.protobuf:protobuf-java-util", version.ref = "protobuf" }
protobuf-protoc = { module = "com.google.protobuf:protoc", version.ref = "protobuf" }
swiftpoet = { module = "io.outfoxx:swiftpoet", version = "1.6.5" }
swiftpoet = { module = "io.outfoxx:swiftpoet", version = "1.6.6" }
truth = { module = "com.google.truth:truth", version = "1.4.4" }
vanniktechPublishPlugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.30.0" }
6 changes: 3 additions & 3 deletions wire-tests-swift/no-manifest/src/main/swift/AllTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import Wire
public struct AllTypes {

@CopyOnWrite
private var storage: Storage
private var storage: AllTypes.Storage
/**
* Access the underlying storage
*/
public subscript<Property>(dynamicMember keyPath: WritableKeyPath<Storage, Property>) -> Property {
public subscript<Property>(dynamicMember keyPath: WritableKeyPath<AllTypes.Storage, Property>) -> Property {
get {
storage[keyPath: keyPath]
}
Expand Down Expand Up @@ -824,7 +824,7 @@ public struct AllTypes {
req_nested_message: AllTypes.NestedMessage,
configure: (inout Self.Storage) -> Swift.Void = { _ in }
) {
self.storage = Storage(
self.storage = AllTypes.Storage(
req_int32: req_int32,
req_uint32: req_uint32,
req_sint32: req_sint32,
Expand Down
4 changes: 2 additions & 2 deletions wire-tests-swift/no-manifest/src/main/swift/Form.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Wire

public struct Form {

public var choice: Choice?
public var decision: Decision?
public var choice: Form.Choice?
public var decision: Form.Decision?
public var unknownFields: UnknownFields = .init()

public init(configure: (inout Self) -> Swift.Void = { _ in }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public struct OneOfMessage {
/**
* Must have a foo or a bar or a baz.
*/
public var choice: Choice?
public var choice: OneOfMessage.Choice?
public var unknownFields: UnknownFields = .init()

public init(configure: (inout Self) -> Swift.Void = { _ in }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Wire

public struct RedactedOneOf {

public var a: A?
public var a: RedactedOneOf.A?
public var unknownFields: UnknownFields = .init()

public init(configure: (inout Self) -> Swift.Void = { _ in }) {
Expand Down
2 changes: 1 addition & 1 deletion wire-tests-swift/no-manifest/src/main/swift/Screen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Wire

public struct Screen {

public var screen: Screen?
public var screen: Screen.Screen?
public var unknownFields: UnknownFields = .init()

public init(configure: (inout Self) -> Swift.Void = { _ in }) {
Expand Down
Loading