FIR2IR: add implicit NOT_NULL cast for @FlexibleNullability type
This commit is contained in:
committed by
teamcityserver
parent
b658e99f91
commit
4cb32cd38a
-4
@@ -1,8 +1,4 @@
|
||||
// FILE: test/CallableDescriptor.java
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// Here FIR adds implicit NOT_NULL cast for `origin`, resulting in an assertion being added,
|
||||
// which is the correct (yet mismatching) behavior, according to https://youtrack.jetbrains.com/issue/KT-35656
|
||||
|
||||
// JVM_IR:
|
||||
// Here in 'original in emptySet<D>()' T = '@EnhancedNullability CallableDescriptor' is inferred for 'Iterable<T>.contains(T)'.
|
||||
// Using value of '@EnhancedNullability CallableDescriptor' type where '@EnhancedNullability CallableDescriptor' is expected
|
||||
|
||||
Reference in New Issue
Block a user