[NI] Minor. Remove redundant code that was added for debugging
This commit is contained in:
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user