Files
kotlin/compiler/testData/repl/multipleImports.repl
Pavel V. Talanov 5058e9b4e6 Fix import resolution in Repl
#KT-11428 Fixed

 Refactor ReplState to be a component
2016-05-24 15:41:56 +03:00

10 lines
210 B
Plaintext
Vendored

>>> 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