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:
@@ -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
|
||||
Reference in New Issue
Block a user