tiny bit of diagnostics

This commit is contained in:
Dmitry Jemerov
2011-06-17 17:17:12 +02:00
parent b7e6de73e8
commit 6e1d79e5e1
@@ -68,7 +68,7 @@ public abstract class ClassBodyCodegen {
try {
functionCodegen.gen((JetFunction) declaration, kind);
} catch (RuntimeException e) {
throw new RuntimeException("Error generating method " + myClass.getName() + "." + declaration.getName(), e);
throw new RuntimeException("Error generating method " + myClass.getName() + "." + declaration.getName() + " in " + kind, e);
}
}
}