Fix several bugs in serialization of inner generic classes

- Interner was working incorrectly with parents
- nested classes were serialized in codegen out of any context

 #KT-5660 Fixed
This commit is contained in:
Alexander Udalov
2014-11-24 16:07:40 +03:00
parent 36c65e4264
commit 1f68c94ce6
14 changed files with 205 additions and 25 deletions
@@ -0,0 +1,11 @@
package test
class MembersReferenceOuterTP<P> {
inner class Inner {
fun f<Q : P>() {}
fun g(p: P): P = null!!
val v: P = null!!
val <Q : P> w: Q = null!!
}
}