Inject stub type variables of a different builder inference call properly
This commit is contained in:
+5
@@ -18,6 +18,11 @@ abstract class ExplicitTypeParameterConstraintPosition<T>(val typeArgument: T) :
|
||||
override fun toString(): String = "TypeParameter $typeArgument"
|
||||
}
|
||||
|
||||
abstract class InjectedAnotherStubTypeConstraintPosition<T>(private val builderInferenceLambdaOfInjectedStubType: T) : ConstraintPosition(),
|
||||
OnlyInputTypeConstraintPosition {
|
||||
override fun toString(): String = "Injected from $builderInferenceLambdaOfInjectedStubType builder inference call"
|
||||
}
|
||||
|
||||
abstract class ExpectedTypeConstraintPosition<T>(val topLevelCall: T) : ConstraintPosition(), OnlyInputTypeConstraintPosition {
|
||||
override fun toString(): String = "ExpectedType for call $topLevelCall"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user