fix reading of jet signature with type parameter referencing self

===
class Something<A : Comparable<A>>
===

reported by Max

Also merge copy-paste in JavaDescriptorResolver
This commit is contained in:
Stepan Koltsov
2012-02-17 22:32:11 +04:00
parent 6cb7833e9b
commit d2a137d944
3 changed files with 76 additions and 66 deletions
@@ -0,0 +1,5 @@
package test
trait TraitWithP<P>
class ClassParamReferencesSelf<A : TraitWithP<A>>
@@ -0,0 +1,7 @@
namespace test
final class test.ClassParamReferencesSelf</*0,r*/ A : test.TraitWithP<A>> : jet.Any {
final /*constructor*/ fun </*0,r*/ A : test.TraitWithP<A>><init>(): test.ClassParamReferencesSelf</*0,r*/ A : test.TraitWithP<A>>
}
abstract trait test.TraitWithP</*0,r*/ P : jet.Any?> : jet.Any {
}