diff --git a/Sources/SyntaxSparrow/Public/Semantics/Components/Result.swift b/Sources/SyntaxSparrow/Public/Semantics/Components/Result.swift index a3e6a3eb..8a0fcd95 100644 --- a/Sources/SyntaxSparrow/Public/Semantics/Components/Result.swift +++ b/Sources/SyntaxSparrow/Public/Semantics/Components/Result.swift @@ -67,6 +67,6 @@ public struct Result: Hashable, Equatable, CustomStringConvertible { public var description: String { let base = resolver.node.description.trimmed - return isOptional ? "\(base)?" : base + return base + (isOptional ? "?" : "") } }