[FIR] Move unwrapSmartcastExpression util into :compiler:fir:tree module
This commit is contained in:
committed by
Space Team
parent
d52b52ff5c
commit
e70e85d51a
@@ -85,8 +85,3 @@ fun FirElement.unwrapElement(): FirElement = when (this) {
|
||||
else -> this
|
||||
}
|
||||
|
||||
fun FirExpression.unwrapSmartcastExpression(): FirExpression =
|
||||
when (this) {
|
||||
is FirSmartCastExpression -> originalExpression
|
||||
else -> this
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user