Fix import resolution in Repl

#KT-11428 Fixed

 Refactor ReplState to be a component
This commit is contained in:
Pavel V. Talanov
2016-04-07 20:06:38 +03:00
parent 9f67072098
commit 5058e9b4e6
8 changed files with 87 additions and 81 deletions
+10
View File
@@ -0,0 +1,10 @@
>>> val c = 3
>>> import java.util.Date
>>> Date(0).getTime()
0
>>> import java.io.ByteArrayOutputStream
>>> val s = ByteArrayOutputStream()
>>> s.javaClass!!.getName()
java.io.ByteArrayOutputStream
>>> c + 1
4