FIR: Preserve non-custom attributes after substitution
The test is being fixed since synthetic call for elvis has @Exact-attribute on return type
This commit is contained in:
committed by
teamcityserver
parent
e26abbbbb0
commit
883b18a0c6
+1
-1
@@ -13,5 +13,5 @@ fun test() {
|
||||
val r2 = map.getOrDefault_Exact("y", null as Int?)
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>r2<!>
|
||||
|
||||
map.getOrDefault_Exact("y", "string")
|
||||
map.getOrDefault_Exact("y", <!ARGUMENT_TYPE_MISMATCH!>"string"<!>)
|
||||
}
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ fun <T> test3(t1: @kotlin.internal.NoInfer T): T = t1
|
||||
fun usage() {
|
||||
test1(1, "312")
|
||||
1.test2("")
|
||||
test3("")
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>test3<!>("")
|
||||
}
|
||||
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
|
||||
Reference in New Issue
Block a user