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 fcc367a commit 77cb7b7Copy full SHA for 77cb7b7
lib/AST/ASTPrinter.cpp
@@ -1159,7 +1159,6 @@ class PrintAST : public ASTVisitor<PrintAST> {
1159
Type OldType = CurrentType;
1160
if (CurrentType && (Old != nullptr || Options.PrintAsMember)) {
1161
if (auto *NTD = dyn_cast<NominalTypeDecl>(D)) {
1162
- assert(Options.CurrentModule);
1163
auto Subs = CurrentType->getContextSubstitutionMap(
1164
NTD->getDeclContext());
1165
setCurrentType(NTD->getDeclaredInterfaceType().subst(Subs));
0 commit comments