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
@@ -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<!>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user