Skip to content

Commit c0d52fd

Browse files
committed
swift-ide-test: input complete test is for REPL.
1 parent 7fbd10f commit c0d52fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/swift-ide-test/swift-ide-test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ static int doInputCompletenessTest(StringRef SourceFilename) {
14761476
llvm::raw_ostream &OS = llvm::outs();
14771477
OS << SourceFilename << ": ";
14781478
if (isSourceInputComplete(std::move(FileBufOrErr.get()),
1479-
SourceFileKind::Main).IsComplete) {
1479+
SourceFileKind::REPL).IsComplete) {
14801480
OS << "IS_COMPLETE\n";
14811481
} else {
14821482
OS << "IS_INCOMPLETE\n";

0 commit comments

Comments
 (0)