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,12 @@
namespace test
internal final class test.TestSome</*0*/ P : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.TestSome<P>
internal final class object test.TestSome.<class-object-for-TestSome> : test.ToResolve<[ERROR : P]> {
private final /*constructor*/ fun <init>(): test.TestSome.<class-object-for-TestSome>
}
}
internal open class test.ToResolve</*0*/ SomeClass : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ SomeClass : jet.Any?><init>(/*0*/ f: jet.Function1<jet.Int, jet.Int>): test.ToResolve<SomeClass>
}
internal final fun testFun(/*0*/ a: jet.Int): jet.Int