Switch old IDE/CLI repls to the new infrastructure

should also fix #KT-5822
This commit is contained in:
Ilya Chernikov
2017-03-25 14:37:30 +01:00
parent e384268c8b
commit 15ccd28e2e
6 changed files with 68 additions and 184 deletions
+2 -6
View File
@@ -1,9 +1,5 @@
>>> class B { override fun toString(): String { return foo() } ; fun foo(): String { return error("message") } }
>>> B().toString()
java.lang.IllegalStateException: message
at Line1$B.foo(line1.kts:1)
at Line1$B.toString(line1.kts:1)
>>> B()
java.lang.IllegalStateException: message
at Line1$B.foo(line1.kts:1)
at Line1$B.toString(line1.kts:1)
at Line_0$B.foo(Line_0.kts:1)
at Line_0$B.toString(Line_0.kts:1)