use of org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl in project kotlin by JetBrains.
the class KotlinTypeCheckerTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
ModuleDescriptorImpl module = KotlinTestUtils.createEmptyModule();
builtIns = module.getBuiltIns();
ContainerForTests container = InjectionKt.createContainerForTests(getProject(), module);
module.setDependencies(Collections.singletonList(module));
module.initialize(PackageFragmentProvider.Empty.INSTANCE);
typeResolver = container.getTypeResolver();
expressionTypingServices = container.getExpressionTypingServices();
scopeWithImports = getDeclarationsScope("compiler/testData/type-checker-test.kt");
}
Aggregations