[LL API] Avoid traversing the same smart cast expression twice
This commit is contained in:
+1
@@ -380,6 +380,7 @@ private class ContextCollectorVisitor(
|
||||
try {
|
||||
smartCasts = smartCasts.put(symbol, smartCastExpression.typesFromSmartCast.toSet())
|
||||
super.visitSmartCastExpression(smartCastExpression)
|
||||
return
|
||||
} finally {
|
||||
smartCasts = previousSmartCasts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user