Skip to content

Commit b94e2aa

Browse files
committed
Update
1 parent ab8f060 commit b94e2aa

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Package.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ import PackageDescription
66

77
let package = Package(
88
name: "FunctionalViewComponent",
9-
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .macCatalyst(.v13)],
9+
platforms: [
10+
.macOS(.v10_15),
11+
.iOS(.v13),
12+
.tvOS(.v13),
13+
.watchOS(.v6),
14+
.macCatalyst(.v13)
15+
],
1016
products: [
1117
.library(
1218
name: "FunctionalViewComponent",

Sources/FunctionalViewComponentMacros/FunctionalViewComponentMacro.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ public struct ViewComponentMacro: BodyMacro {
8181
fatalError("ViewComponentMacro can only be applied to function declarations.")
8282
}
8383

84-
// 関数名を取得
85-
let functionName = functionDecl.name.text
86-
8784
// イニシャライザのコンポーネントを取得
8885
let initComponents = functionDecl.initializerComponents
8986

0 commit comments

Comments
 (0)