[FIR] Set EnhancedNullability attribute for former flexible types
In some cases we transform flexible type into non-flexible during enhancement, but don't add `@EnhancedNullability` attribute to them, which breaks consistency with K1 on IR level This commit fixes it ^KT-65302
This commit is contained in:
committed by
Space Team
parent
da567e54b9
commit
bd66b96f8a
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
C:
|
||||
[Enhancement]: public open fun foo(x: R|kotlin/Int?|): R|kotlin/Unit| from Use site scope of /C [id: 0]
|
||||
[Enhancement]: public open fun foo(x: R|kotlin/Int?|): R|kotlin/Unit| from Java enhancement scope for /A [id: 0]
|
||||
[Enhancement]: public open fun foo(x: R|@EnhancedNullability kotlin/Int?|): R|kotlin/Unit| from Use site scope of /C [id: 0]
|
||||
[Enhancement]: public open fun foo(x: R|@EnhancedNullability kotlin/Int?|): R|kotlin/Unit| from Java enhancement scope for /A [id: 0]
|
||||
[Source]: public open fun foo(x: R|kotlin/Int|): R|kotlin/Unit| from Use site scope of /C [id: 0]
|
||||
[Source]: public open fun foo(x: R|kotlin/Int|): R|kotlin/Unit| from Use site scope of /B [id: 0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user