Minor: fix formatting
This commit is contained in:
committed by
Mikhail Zarechenskiy
parent
bc2a8555a3
commit
1ae4278cfd
+5
-2
@@ -162,8 +162,11 @@ class NewConstraintSystemImpl(val constraintInjector: ConstraintInjector, val re
|
|||||||
val fixedVariables = LinkedHashMap<NewTypeVariable, UnwrappedType>()
|
val fixedVariables = LinkedHashMap<NewTypeVariable, UnwrappedType>()
|
||||||
|
|
||||||
for (variableWithConstrains in storage.notFixedTypeVariables.values) {
|
for (variableWithConstrains in storage.notFixedTypeVariables.values) {
|
||||||
val resultType = resultTypeResolver.findResultIfThereIsEqualsConstraint(apply { checkState(State.BUILDING) }, variableWithConstrains,
|
val resultType = resultTypeResolver.findResultIfThereIsEqualsConstraint(
|
||||||
allowedFixToNotProperType = false)
|
apply { checkState(State.BUILDING) },
|
||||||
|
variableWithConstrains,
|
||||||
|
allowedFixToNotProperType = false
|
||||||
|
)
|
||||||
if (resultType != null) {
|
if (resultType != null) {
|
||||||
fixedVariables[variableWithConstrains.typeVariable] = resultType
|
fixedVariables[variableWithConstrains.typeVariable] = resultType
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user