Skip to content

Commit 4be5046

Browse files
committed
[Parser] Keep delayed body parsing even with interface hash generation
The generated hash ignores tokens parsed in the body anyway, so there's no reason to disable delayed body parsing in this case.
1 parent 256c07d commit 4be5046

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/AST/Module.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,8 +2348,6 @@ bool SourceFile::hasDelayedBodyParsing() const {
23482348
// Not supported right now.
23492349
if (Kind == SourceFileKind::SIL)
23502350
return false;
2351-
if (hasInterfaceHash())
2352-
return false;
23532351
if (shouldCollectTokens())
23542352
return false;
23552353
if (shouldBuildSyntaxTree())

0 commit comments

Comments
 (0)