Files
kotlin-fork/compiler/testData/lazyResolve/namespaceComparator/resolveFunctionInsideClassObject.kt
T
Nikolay Krasko 37cd7eb1ba Allow resolve class declarations in class objects
Use INACCESSIBLE_OUTER_CLASS_EXPRESSION error for marking already resolved elements

 #KT-3261 Fixed
2013-06-07 17:24:17 +04:00

9 lines
154 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
}
}