initial version of codegen for objects

This commit is contained in:
Dmitry Jemerov
2011-06-16 18:26:01 +02:00
parent 67689f4ed2
commit a05b65f1a6
12 changed files with 151 additions and 61 deletions
@@ -68,6 +68,9 @@ public abstract class CodegenTestCase extends LightCodeInsightFixtureTestCase {
String actual;
try {
actual = blackBox();
} catch (NoClassDefFoundError e) {
System.out.println(generateToText());
throw e;
} catch (Exception e) {
System.out.println(generateToText());
throw e;
@@ -0,0 +1,10 @@
package org.jetbrains.jet.codegen;
/**
* @author yole
*/
public class ObjectGenTest extends CodegenTestCase {
public void testSimpleObject() throws Exception {
blackBoxFile("objects/simpleObject.jet");
}
}