Scripting: fix CLI REPL error reporting behavior

discrepancy after switching to the new REPL internals was
discovered also on IJ plugin tests, so added a test emulating it.
also some test infra refactoring
This commit is contained in:
Ilya Chernikov
2022-06-27 14:01:46 +02:00
parent 8bc43917ec
commit 6e59c2e079
5 changed files with 80 additions and 17 deletions
+3
View File
@@ -2,6 +2,9 @@
error: expecting an element
)(
^
error: expecting an expression
)(
^
>>> fun foo() = 98
>>> foo()
98