NI: intersect DFI types before capturing
^KT-37887 Fixed
This commit is contained in:
+1
-1
@@ -36,5 +36,5 @@ fun foo(coneSymbol: AbstractFirBasedSymbol<*>) {
|
||||
coneSymbol.phasedFir() checkType { _<FirVariable<*>>() }
|
||||
|
||||
if (coneSymbol !is FirPropertySymbol) return
|
||||
coneSymbol.phasedFir() checkType { _<FirVariable<*>>() }
|
||||
coneSymbol.phasedFir() checkType { _<FirProperty>() }
|
||||
}
|
||||
|
||||
+1
-1
@@ -36,5 +36,5 @@ fun foo(coneSymbol: AbstractFirBasedSymbol<*>) {
|
||||
coneSymbol.phasedFir() checkType { _<FirVariable<*>>() }
|
||||
|
||||
if (coneSymbol !is FirPropertySymbol) return
|
||||
coneSymbol.phasedFir() checkType { _<FirVariable<*>>() }
|
||||
coneSymbol.phasedFir() checkType { _<FirProperty>() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user