Skip to content

Commit e19032b

Browse files
committed
Use editor placeholder for placeholder expression
1 parent e14e0c7 commit e19032b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftIfConfig/IfConfigRewriter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class ActiveSyntaxRewriter<Configuration: BuildConfiguration>: SyntaxRewriter {
243243
// syntax node so clients can recover more gracefully.
244244
return ExprSyntax(
245245
MissingExprSyntax(
246-
placeholder: .init(.identifier("_"), presence: .missing)
246+
placeholder: .init(.identifier("<#expression#>"), presence: .missing)
247247
)
248248
)
249249
}

0 commit comments

Comments
 (0)