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 826e891 commit 95e5788Copy full SHA for 95e5788
include/swift/AST/LifetimeDependence.h
@@ -177,12 +177,17 @@ class LifetimeEntry {
177
result += ": ";
178
}
179
180
+ bool firstElem = true;
181
for (auto source : sources) {
182
+ if (!firstElem) {
183
+ result += ", ";
184
+ }
185
if (source.getParsedLifetimeDependenceKind() ==
186
ParsedLifetimeDependenceKind::Scope) {
187
result += "borrow ";
188
189
result += source.getString();
190
+ firstElem = false;
191
192
result += ")";
193
return result;
0 commit comments