Allow only single expression eval in cli compiler and kotlin runner

#KT-35740 fixed
also add tests and drop logger usage in the cli dependencies manager:
the logger is normally unitialized in the usage scenarios, but related
warnings are annoying.
This commit is contained in:
Ilya Chernikov
2020-01-08 18:43:44 +01:00
parent 7ffb64ec57
commit 995c6a32b8
13 changed files with 55 additions and 24 deletions
+4
View File
@@ -0,0 +1,4 @@
-Xexpression=val x = 2; System.err.println((args + listOf(2,1).map { (it * x).toString() }).joinToString())
--
a
b
+2
View File
@@ -0,0 +1,2 @@
a, b, 4, 2
OK