Skip to content

Commit 8135c1f

Browse files
committed
wip
1 parent bf6dc8a commit 8135c1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/StructuredQueriesSQLiteMacros/DatabaseFunctionMacro.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ extension DatabaseFunctionMacro: PeerMacro {
226226

227227
return [
228228
"""
229-
nonisolated \(attributes)\(access)\(`static`)var $\(raw: declarationName): \(functionTypeName) {
229+
\(attributes)\(access)\(`static`)\(nonisolated)var $\(raw: declarationName): \(functionTypeName) {
230230
\(functionTypeName)(\(declaration.name.trimmed))
231231
}
232232
""",
233233
"""
234-
nonisolated \(attributes)\(access)struct \(functionTypeName): \
234+
\(attributes)\(access)\(nonisolated)struct \(functionTypeName): \
235235
StructuredQueriesSQLiteCore.ScalarDatabaseFunction {
236236
public typealias Input = \(raw: representableInputType)
237237
public typealias Output = \(representableOutputType)

0 commit comments

Comments
 (0)