mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure that fresh variables are not registered infinitely (IDEA-146740)
This commit is contained in:
+3
-1
@@ -899,7 +899,9 @@ public class InferenceSession {
|
||||
}
|
||||
parameter.putUserData(LOWER_BOUND, lub);
|
||||
}
|
||||
var.addBound(elementFactory.createType(parameter), InferenceBound.EQ);
|
||||
if (!var.addBound(elementFactory.createType(parameter), InferenceBound.EQ)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
myIncorporationPhase.forgetCaptures(vars);
|
||||
if (!repeatInferencePhases(true)) {
|
||||
|
||||
Reference in New Issue
Block a user