Formatting
This commit is contained in:
@@ -90,9 +90,10 @@ public abstract class ClassBodyCodegen {
|
||||
try {
|
||||
genNamedFunction((JetNamedFunction) declaration, functionCodegen);
|
||||
}
|
||||
catch(CompilationException e) {
|
||||
catch (CompilationException e) {
|
||||
throw e;
|
||||
} catch (RuntimeException e) {
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
throw new RuntimeException("Error generating method " + myClass.getName() + "." + declaration.getName() + " in " + context, e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,8 @@ public class NamespaceCodegen {
|
||||
else if (declaration instanceof JetNamedFunction) {
|
||||
try {
|
||||
functionCodegen.gen((JetNamedFunction) declaration);
|
||||
} catch (CompilationException e) {
|
||||
}
|
||||
catch (CompilationException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user