Don't lose inference session in all the possible locations
This commit is contained in:
@@ -144,7 +144,7 @@ public class DefaultModalityModifiersTest extends KotlinTestWithEnvironment {
|
||||
KtNamedFunction function = (KtNamedFunction) declarations.get(0);
|
||||
SimpleFunctionDescriptor functionDescriptor =
|
||||
functionDescriptorResolver.resolveFunctionDescriptor(classDescriptor, scope, function,
|
||||
DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY);
|
||||
DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY, null);
|
||||
|
||||
assertEquals(expectedFunctionModality, functionDescriptor.getModality());
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ public class KotlinOverloadTest extends KotlinTestWithEnvironment {
|
||||
KtNamedFunction function = KtPsiFactoryKt.KtPsiFactory(getProject()).createFunction(funDecl);
|
||||
LexicalScope scope = TypeTestUtilsKt.builtInPackageAsLexicalScope(module);
|
||||
return functionDescriptorResolver.resolveFunctionDescriptor(
|
||||
module, scope, function, DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY
|
||||
module, scope, function, DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY, null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ public class KotlinOverridingTest extends KotlinTestWithEnvironment {
|
||||
KtNamedFunction function = KtPsiFactoryKt.KtPsiFactory(getProject()).createFunction(funDecl);
|
||||
LexicalScope scope = TypeTestUtilsKt.builtInPackageAsLexicalScope(module);
|
||||
return functionDescriptorResolver.resolveFunctionDescriptor(
|
||||
module, scope, function, DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY
|
||||
module, scope, function, DummyTraces.DUMMY_TRACE, DataFlowInfoFactory.EMPTY, null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user