Skip to content

Commit 742c8c8

Browse files
committed
Point Linux users towards LLDB for their REPL.
The Swift compiler has a bare-bones integrated REPL for testing purposes, but it hasn't been ported to any platforms besides OS X. The real REPL is part of LLDB and works on both OS X and Linux. I've already seen two questions about this error message, so at least pointing people towards LLDB is probably a good idea. No functionality change.
1 parent 4d02520 commit 742c8c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Immediate/REPL.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,7 @@ void swift::runREPL(CompilerInstance &CI, const ProcessCmdLine &CmdLine,
11901190
// Disable the REPL on other platforms; our current implementation is tied
11911191
// to histedit.h.
11921192
llvm::report_fatal_error("Compiler-internal integrated REPL unimplemented "
1193-
"for this platform");
1193+
"for this platform; use the LLDB-enhanced REPL "
1194+
"instead.");
11941195
}
11951196
#endif

0 commit comments

Comments
 (0)