[FIR] Fix enhancement of FlexibleNullability and EnhancedNullability
- Add utilities to add new attribute to ConeAttributes
- Get rid of FlexibleNullability attribute (it can be easily inferred
for any flexible type at any moment)
- Fix determining of EnhancedNullability attribute
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FILE: main.kt
|
||||
public final fun test(a: R|A|): R|kotlin/Unit| {
|
||||
lval int: R|kotlin/Int| = R|<local>/a|.R|/A.x|
|
||||
lval string: R|ft<@FlexibleNullability kotlin/String, kotlin/String?>!| = R|<local>/a|.R|/A.getX|()
|
||||
lval string: R|ft<kotlin/String, kotlin/String?>!| = R|<local>/a|.R|/A.getX|()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user