From b32bb2302dfb6f685fdafe8f512fa2b247d26518 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Fri, 27 Sep 2013 18:32:47 +0400 Subject: [PATCH] todo comment added --- .../jet/lang/resolve/calls/inference/ConstraintSystemImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/descriptors/src/org/jetbrains/jet/lang/resolve/calls/inference/ConstraintSystemImpl.java b/core/descriptors/src/org/jetbrains/jet/lang/resolve/calls/inference/ConstraintSystemImpl.java index 6fcf8b03dde..98ba921a846 100644 --- a/core/descriptors/src/org/jetbrains/jet/lang/resolve/calls/inference/ConstraintSystemImpl.java +++ b/core/descriptors/src/org/jetbrains/jet/lang/resolve/calls/inference/ConstraintSystemImpl.java @@ -268,6 +268,7 @@ public class ConstraintSystemImpl implements ConstraintSystem { newConstraintSystem.typeParameterBounds.put(newTypeParameter, typeBoundsMap.apply(typeBounds)); } newConstraintSystem.errorConstraintPositions.addAll(ContainerUtil.filter(errorConstraintPositions, constraintPositionCondition)); + //todo if 'constraintPositionCondition' is not trivial, it's incorrect to just copy 'hasErrorInConstrainingTypes' newConstraintSystem.hasErrorInConstrainingTypes = hasErrorInConstrainingTypes; return newConstraintSystem; }