diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/tower/TowerGroup.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/tower/TowerGroup.kt index 58e84c4addb..93f40f83718 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/tower/TowerGroup.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/tower/TowerGroup.kt @@ -28,8 +28,6 @@ sealed class TowerGroupKind(private val index: Int) : Comparable class Top(depth: Int) : WithDepth(70, depth) - class Static(depth: Int) : WithDepth(80, depth) - object Last : TowerGroupKind(Integer.MAX_VALUE) override fun compareTo(other: TowerGroupKind): Int { @@ -71,8 +69,6 @@ private constructor( fun TopPrioritized(depth: Int) = kindOf(TowerGroupKind.TopPrioritized(depth)) - fun Static(depth: Int) = kindOf(TowerGroupKind.Static(depth)) - val Last = kindOf(TowerGroupKind.Last) } @@ -88,8 +84,6 @@ private constructor( fun Top(depth: Int) = kindOf(TowerGroupKind.Top(depth)) - fun Static(depth: Int) = kindOf(TowerGroupKind.Static(depth)) - // Treating `a.foo()` common calls as more prioritized than `a.foo.invoke()` // It's not the same as TowerGroupKind because it's not about tower levels, but rather a different dimension semantically. // It could be implemented via another TowerGroupKind, but it's not clear what priority should be assigned to the new TowerGroupKind