10 lines
155 B
Kotlin
10 lines
155 B
Kotlin
package test
|
|
|
|
class Test {
|
|
fun test(): Int = 12
|
|
|
|
class object {
|
|
val a = test() // Check if resolver will be able to infer type of a variable
|
|
}
|
|
}
|