[AA] keep nullability for the recreated type

...when computing receiver type for double colon expression

^KT-65930 fixed
This commit is contained in:
Anna Kozlova
2024-02-19 14:21:37 +01:00
committed by Space Team
parent d50b02adaf
commit c628382b29
7 changed files with 30 additions and 1 deletions
@@ -0,0 +1,3 @@
fun Int?.foo() = this?.hashCode() ?: 0
val x = Int?:<caret>:foo
@@ -0,0 +1,2 @@
expression: Int?::foo
receiver:: type: kotlin.Int?