Jvm Codegen: do not throw on malformed delegation to a type parameter

Fix exception on light class building

See KT-15931
This commit is contained in:
Pavel V. Talanov
2017-06-05 14:58:50 +03:00
parent 19db4304bd
commit bdf76f23c4
4 changed files with 51 additions and 14 deletions
@@ -0,0 +1,15 @@
package c
class C<T>: <error>T</error> by <error>{
}</error>
class D<T>: <error>T</error> by<EOLError></EOLError>
class G<T> : <error>T</error> by <error>{
val c = 3
}</error>
interface I
class A<T : I>(a: T) : <error>T</error> by a