don't cache erased state during overload resolution

This commit is contained in:
Anna.Kozlova
2017-12-20 16:11:31 +01:00
parent 9f6fc37a6a
commit c28bb62a86
@@ -1102,7 +1102,7 @@ public class InferenceSession {
}
public void setUncheckedInContext() {
if (myContext != null) {
if (myContext != null && !MethodCandidateInfo.isOverloadCheck()) {
myContext.putUserData(ERASED, myErased);
}
}