Remove ResolveSession.getResolutionScope() and extend usage of ScopeProvider.getResolutionScopeForDeclaration()

This commit is contained in:
Nikolay Krasko
2012-09-18 17:46:58 +04:00
parent 01141cfb36
commit 4041d4d192
9 changed files with 86 additions and 50 deletions
@@ -0,0 +1,9 @@
package test
open class ToResolve<SomeClass>(f : (Int) -> Int)
fun testFun(a : Int) = 12
class TestSome<P> {
class object : ToResolve<P>({testFun(it)}) {
}
}