KT-11028 Add test for the issue
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package foo
|
||||
|
||||
class X {
|
||||
val a = Y.foo
|
||||
|
||||
object Y {
|
||||
val foo = 23
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(23, X().a)
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user