Skip to content

Commit 7151a97

Browse files
committed
[ASTDumper] Don't try to print opaque type decl substitutions
Attempting to dump opaque decl while type-checking a body of the declaration it's associated with results in a request cycle because underlying substitutions request would trigger type-checking if the body isn't type-checked yet.
1 parent 2337d92 commit 7151a97

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/AST/ASTDumper.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -1171,10 +1171,6 @@ namespace {
11711171

11721172
}, "opaque_interface", TypeColor);
11731173

1174-
if (auto underlyingSubs = OTD->getUniqueUnderlyingTypeSubstitutions()) {
1175-
printRec(*underlyingSubs);
1176-
}
1177-
11781174
printFoot();
11791175
}
11801176

0 commit comments

Comments
 (0)