Allow resolve class declarations in class objects

Use INACCESSIBLE_OUTER_CLASS_EXPRESSION error for marking already resolved elements

 #KT-3261 Fixed
This commit is contained in:
Nikolay Krasko
2013-06-04 16:18:29 +04:00
parent a04ecb185e
commit 37cd7eb1ba
24 changed files with 239 additions and 51 deletions
@@ -5,7 +5,7 @@ internal fun testFun(/*0*/ a: jet.Int): jet.Int
internal final class TestSome</*0*/ P> {
/*primary*/ public constructor TestSome</*0*/ P>()
internal class object <class-object-for-TestSome> : test.ToResolve<[ERROR : P]> {
internal class object <class-object-for-TestSome> : test.ToResolve<P> {
/*primary*/ private constructor <class-object-for-TestSome>()
}
}