We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537a4a1 commit 96d526fCopy full SHA for 96d526f
Sources/UCF/Codelinks/Grammar/UCF.TypePattern.swift
@@ -87,12 +87,22 @@ extension UCF.TypePattern
87
88
input.format(source: source, into: &string)
89
}
90
- string.append("->")
+ string.append(")->")
91
output.format(source: source, into: &string)
92
93
case .nominal(let path):
94
+ var first:Bool = true
95
for (component, generics):(Range<String.Index>, [UCF.TypePattern]) in path
96
{
97
+ if first
98
+ {
99
+ first = false
100
+ }
101
+ else
102
103
+ string.append(".")
104
105
+
106
string += source[component]
107
108
if generics.isEmpty
0 commit comments