remove JetStandardLibrary dependency from jvm backend

This commit is contained in:
Stepan Koltsov
2012-06-17 03:53:12 +04:00
parent 30a097bbad
commit a95cc798a2
20 changed files with 253 additions and 83 deletions
@@ -163,7 +163,7 @@ public class JetPositionManager implements PositionManager {
final AnalyzeExhaust analyzeExhaust = WholeProjectAnalyzerFacade.analyzeProjectWithCacheOnAFile(file);
analyzeExhaust.throwIfError();
JetTypeMapper typeMapper = new InjectorForJetTypeMapper(
analyzeExhaust.getStandardLibrary(), analyzeExhaust.getBindingContext(), Collections.singletonList(file)).getJetTypeMapper();
analyzeExhaust.getBindingContext(), Collections.singletonList(file)).getJetTypeMapper();
myTypeMappers.put(file, typeMapper);
return typeMapper;
}