Skip to content

Commit 7e5e00a

Browse files
authored
Merge pull request #26986 from compnerd/26981
Parse: repair build after #26981
2 parents af45d00 + b1dc288 commit 7e5e00a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Parse/ParseRequests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ BraceStmt *ParseAbstractFunctionBodyRequest::evaluate(
8080
SourceFile &sf = *afd->getDeclContext()->getParentSourceFile();
8181
SourceManager &sourceMgr = sf.getASTContext().SourceMgr;
8282
unsigned bufferID = sourceMgr.findBufferContainingLoc(afd->getLoc());
83-
Parser parser(bufferID, sf, nullptr, nullptr, nullptr,
84-
/*DelayBodyParsing=*/false);
83+
Parser parser(bufferID, sf, static_cast<SILParserTUStateBase *>(nullptr),
84+
nullptr, nullptr, /*DelayBodyParsing=*/false);
8585
parser.SyntaxContext->setDiscard();
8686
auto body = parser.parseAbstractFunctionBodyDelayed(afd);
8787
afd->setBodyKind(BodyKind::Parsed);

0 commit comments

Comments
 (0)