Create new trace before each resolve (to avoid writing to a trace already filled in by previous analysis)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user