[FIR] Add ConeUnsupportedDynamicType

This commit is contained in:
Ivan Kochurkin
2021-06-16 17:19:40 +03:00
committed by teamcityserver
parent 0ec693db89
commit e8a790993b
8 changed files with 10 additions and 17 deletions
@@ -1,5 +0,0 @@
interface Tr {
fun foo()
}
class C(d: dynamic) : Tr by d
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
interface Tr {
fun foo()
}
@@ -1,7 +0,0 @@
val foo: dynamic = 1
fun foo() {
class C {
val foo: dynamic = 1
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
val foo: <!UNSUPPORTED!>dynamic<!> = 1
fun foo() {
@@ -20,7 +20,7 @@ public class J {
import p.*
class K: J.C() {
fun dynamic.test() {
fun <!UNSUPPORTED!>dynamic<!>.test() {
<!INVISIBLE_REFERENCE!>sam<!>(null)
<!INVISIBLE_REFERENCE!>sam<!>(
name = null,