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.
2 parents 7e657e5 + 479fa0f commit c58d94fCopy full SHA for c58d94f
tools/SourceKit/lib/SwiftLang/SwiftDocSupport.cpp
@@ -161,7 +161,7 @@ class AnnotatingPrinter : public StreamPrinter {
161
162
bool shouldContinuePost(const Decl *D, Optional<BracketOptions> Bracket) {
163
assert(Bracket.hasValue());
164
- if (!Bracket.getValue().shouldCloseNominal(D) && dyn_cast<NominalTypeDecl>(D))
+ if (!Bracket.getValue().shouldCloseNominal(D) && isa<NominalTypeDecl>(D))
165
return false;
166
if (!Bracket.getValue().shouldCloseExtension(D) &&
167
isa<ExtensionDecl>(D))
0 commit comments