Skip to content

Commit 5ea17aa

Browse files
cypressiousSpace Team
authored andcommitted
[FE] Remove unused function
1 parent 9ea02d4 commit 5ea17aa

File tree

1 file changed

+0
-3
lines changed
  • compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/inference/model

1 file changed

+0
-3
lines changed

compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/inference/model/ConstraintStorage.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,3 @@ fun checkConstraint(
208208
ConstraintKind.UPPER -> typeChecker.isSubtypeOf(context, resultType, constraintType)
209209
}
210210
}
211-
212-
fun Constraint.replaceType(newType: KotlinTypeMarker) =
213-
Constraint(kind, newType, position, typeHashCode, derivedFrom, isNullabilityConstraint, isNoInfer, inputTypePositionBeforeIncorporation)

0 commit comments

Comments
 (0)