Fix SOE related exact annotation and completion

This commit is contained in:
Stanislav Erokhin
2016-05-16 13:08:37 +03:00
parent 2d185dc7cf
commit f376c418dc
6 changed files with 35 additions and 7 deletions
@@ -94,7 +94,7 @@ abstract class AbstractConstraintSystemTest : KotlinTestWithEnvironment() {
for (constraint in constraints) {
val firstType = getType(constraint.firstType)
val secondType = getType(constraint.secondType)
val context = ConstraintContext(SPECIAL.position(), initial = true)
val context = ConstraintContext(SPECIAL.position(), initial = true, initialReduction = true)
when (constraint.kind) {
MyConstraintKind.SUBTYPE -> builder.addSubtypeConstraint(firstType, secondType, context.position)
MyConstraintKind.SUPERTYPE -> builder.addSubtypeConstraint(secondType, firstType, context.position)