31f9e9e7a8
#KT-62305 fixed NB: kotlin reflection do not see script class constructor after this change, and it's ok, since the fact that the script is compiled into a class is an implementation detail. If needed, java reflection could be used to access the constructor.
10 lines
82 B
Kotlin
Vendored
10 lines
82 B
Kotlin
Vendored
|
|
val a = 42
|
|
|
|
class A(val p: String)
|
|
|
|
fun A.foo() = p
|
|
|
|
class B<T>(val v: T & Any)
|
|
|