We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64f8ed1 commit d56e791Copy full SHA for d56e791
1 file changed
JShellWrapper/src/main/java/JShellWrapper.java
@@ -62,7 +62,7 @@ private EvalResult eval(JShell shell, String code, AtomicBoolean hasStopped) {
62
while(!code.isEmpty()) {
63
var completion = shell.sourceCodeAnalysis().analyzeCompletion(clean(code));
64
if(!completion.completeness().isComplete()) {
65
- abortion = new JShellEvalAbortion(code, completion.remaining(), new JShellEvalAbortionCause.SyntaxErrorAbortionCause());
+ abortion = new JShellEvalAbortion(code, "", new JShellEvalAbortionCause.SyntaxErrorAbortionCause());
66
break;
67
}
68
List<SnippetEvent> evalEvents = shell.eval(completion.source());
0 commit comments