Skip to content

Commit c0db8af

Browse files
committed
WIP
1 parent 2f63cd1 commit c0db8af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ for target in package.targets {
4747
target.swiftSettings? += [
4848
.swiftLanguageMode(.v6),
4949
.enableUpcomingFeature("ExistentialAny"),
50+
.enableUpcomingFeature("InternalImportsByDefault"),
5051
]
5152
}

Sources/OnceMacro/OnceMacro.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import SwiftSyntax
2-
import SwiftSyntaxMacros
1+
public import SwiftSyntax
2+
public import SwiftSyntaxMacros
33

44
public struct OnceMacro: ExpressionMacro {
55
public static func expansion(

0 commit comments

Comments
 (0)