Permalink
Browse files

ClassWriter #1052: ModelLoader.findPackage is now in CeylonModelLoader

  • Loading branch information...
1 parent cf1660f commit 595fe1a5ff66a1b80d006801898deb10594e3b27 @FroMage FroMage committed May 28, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/com/redhat/ceylon/compiler/java/codegen/CeylonClassWriter.java
@@ -27,7 +27,6 @@
import com.redhat.ceylon.compiler.java.loader.CeylonModelLoader;
import com.redhat.ceylon.compiler.java.tools.CeyloncFileManager;
-import com.redhat.ceylon.compiler.loader.AbstractModelLoader;
import com.redhat.ceylon.compiler.typechecker.model.Module;
import com.redhat.ceylon.compiler.typechecker.model.Package;
import com.sun.tools.javac.code.Symbol.ClassSymbol;
@@ -43,12 +42,12 @@ public static ClassWriter instance(Context context) {
}
private CeyloncFileManager fileManager;
- private AbstractModelLoader ceylonModelLoader;
+ private CeylonModelLoader ceylonModelLoader;
public CeylonClassWriter(Context context) {
super(context);
fileManager = (CeyloncFileManager) context.get(JavaFileManager.class);
- ceylonModelLoader = CeylonModelLoader.instance(context);
+ ceylonModelLoader = (CeylonModelLoader) CeylonModelLoader.instance(context);
}
@Override

0 comments on commit 595fe1a

Please sign in to comment.