put values of correct type on stack for checking if character is in range

This commit is contained in:
Dmitry Jemerov
2011-05-27 18:29:48 +04:00
parent 6dfa8ca8c6
commit 9969b8d7a4
6 changed files with 31 additions and 12 deletions
@@ -155,7 +155,12 @@ public abstract class CodegenTestCase extends LightCodeInsightFixtureTestCase {
protected Method generateFunction() {
Class aClass = generateNamespaceClass();
return aClass.getMethods()[0];
try {
return aClass.getMethods()[0];
} catch (Error e) {
System.out.println(generateToText());
throw e;
}
}
protected Method generateFunction(String name) {