Skip to content

Commit b6d98a3

Browse files
committed
comment
1 parent 7588aae commit b6d98a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Sema/CSGen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3084,6 +3084,10 @@ namespace {
30843084

30853085
for (auto pack : expandedPacks) {
30863086
Type packType;
3087+
// Skipping over pack elements because the relationship to its
3088+
// environment is now established during addPackElementEnvironment upon
3089+
// visiting its pack expansion and the Shape constraint added upon
3090+
// visiting the pack element.
30873091
if (isExpr<PackElementExpr>(pack)) {
30883092
continue;
30893093
} else if (auto *elementType =

0 commit comments

Comments
 (0)