[NI] Minor. Remove redundant code that was added for debugging

This commit is contained in:
Dmitriy Novozhilov
2019-08-01 10:55:08 +03:00
parent b6a7d21579
commit 8107d1515c
@@ -153,7 +153,6 @@ class ConstraintInjector(
if (!AbstractTypeChecker.isSubtypeOf(this@TypeCheckerContext as AbstractTypeCheckerContext, lowerType, upperType)) {
// todo improve error reporting -- add information about base types
c.addError(NewConstraintError(lowerType, upperType, position))
AbstractTypeChecker.isSubtypeOf(this@TypeCheckerContext as AbstractTypeCheckerContext, lowerType, upperType)
}
}