Support new form of definitely non-nullable types: T & Any

^KT-26245 In Progress
This commit is contained in:
Denis.Zharkov
2021-08-09 12:10:51 +03:00
committed by teamcityserver
parent cdd8d1c163
commit 302eacbf59
53 changed files with 2139 additions and 196 deletions
@@ -17,7 +17,7 @@ public abstract class JClass<T> {
// FILE: main.kt
class KDerived<E> : JClass<E>() {
override fun foo(e: E!!) {
override fun foo(e: E & Any) {
throw RuntimeException("Should not be called")
}
}