Adjust test data to changed rendering: T!! -> T & Any

^KT-26245 In Progress
This commit is contained in:
Denis.Zharkov
2021-08-09 14:03:20 +03:00
committed by teamcityserver
parent dc79d8641b
commit 62bef48f9d
87 changed files with 2670 additions and 2669 deletions
@@ -72,8 +72,8 @@ fun case_5(x: Any?) {
*/
fun <T> case_6(x: T) {
if (x is Int || x is Float) {
<!DEBUG_INFO_EXPRESSION_TYPE("T & T!!")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("T & T!!")!>x<!>.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>toByte<!>()
<!DEBUG_INFO_EXPRESSION_TYPE("T & T & Any")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("T & T & Any")!>x<!>.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>toByte<!>()
}
}
@@ -147,8 +147,8 @@ fun case_12(x: Any) {
*/
fun <T> case_13(x: T) {
if (x !is Int && x !is Float) throw Exception()
<!DEBUG_INFO_EXPRESSION_TYPE("T & T!!")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("T & T!!")!>x<!>.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>toByte<!>()
<!DEBUG_INFO_EXPRESSION_TYPE("T & T & Any")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("T & T & Any")!>x<!>.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>toByte<!>()
}
/*
@@ -165,4 +165,4 @@ fun case_14(x: Any) {
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any")!>x<!>.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>inv<!>()
}
}
}
}