Import scope of the imported script

#KT-34178
This commit is contained in:
Ilya Chernikov
2020-10-01 18:24:17 +02:00
parent a71eab89e7
commit 5ab822be36
6 changed files with 18 additions and 6 deletions
@@ -1,4 +1,10 @@
var sharedVar = 2
println("Hi from common")
class SharedClass(val msg: String)
object SharedObject {
val greeting = "Hi"
}
println("${SharedObject.greeting} from common")