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:
Denis.Zharkov
2021-11-15 16:11:12 +03:00
committed by teamcityserver
parent e26abbbbb0
commit 883b18a0c6
27 changed files with 239 additions and 185 deletions
@@ -49,8 +49,8 @@ class Case3<T> {
fun get(): T {
var x = getTN()
x = x ?: getT()
<!DEBUG_INFO_EXPRESSION_TYPE("T? & T")!>x<!>
return x
<!DEBUG_INFO_EXPRESSION_TYPE("T?")!>x<!>
return <!RETURN_TYPE_MISMATCH!>x<!>
}
}