Create new trace before each resolve (to avoid writing to a trace already filled in by previous analysis)

This commit is contained in:
Andrey Breslav
2012-12-28 20:10:41 +04:00
parent e46e77f0d3
commit 4b4a9eb6c9
3 changed files with 12 additions and 1 deletions
@@ -74,7 +74,7 @@ public class CliLightClassGenerationSupport extends LightClassGenerationSupport
return trace;
}
public void clearBindingTrace() {
public void newBindingTrace() {
assert ApplicationManager.getApplication().isUnitTestMode() : "Mutating project service's state shouldn't happen other than in tests";
trace = null;
}