diff --git a/.DS_Store b/.DS_Store index 101a427..6fd3707 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/README.md b/README.md index 62b8166..bf65972 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ import PackageDescription let package = Package( name: "SomeProject", dependencies: [ - .package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.23.0") + .package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.24.0") ], targets: [ .target(name: "SomeProject", dependencies: ["VDFlow"]) diff --git a/Sources/VDFlowMacros/StepsMacro.swift b/Sources/VDFlowMacros/StepsMacro.swift index ca1d37c..02182f5 100644 --- a/Sources/VDFlowMacros/StepsMacro.swift +++ b/Sources/VDFlowMacros/StepsMacro.swift @@ -53,7 +53,7 @@ public struct StepsMacro: MemberAttributeMacro, ExtensionMacro, MemberMacro, Acc { throw MacroError("`\(name): \(type)` must have default value or be optional") } - return ["@StepID(.\(raw: name))"] + return ["@StepID(.\(raw: name)) // swiftformat:disable:next redundanttype varattributes"] } public static func expansion( diff --git a/Tests/VDFlowTests/VDFlowTests.swift b/Tests/VDFlowTests/VDFlowTests.swift index 9d50101..6e4e661 100644 --- a/Tests/VDFlowTests/VDFlowTests.swift +++ b/Tests/VDFlowTests/VDFlowTests.swift @@ -83,7 +83,8 @@ public struct OneStepSteps { public lazy var someLazyInt = 0 public var someString: String - @Step var someStep: PickerSteps = .text1 + @Step + var someStep: PickerSteps = .text1 } struct SomeView: View {