refactoring of property handling and general handling of (this,receiver)

This commit is contained in:
Alex Tkachman
2011-12-01 12:58:20 +02:00
parent aad2d17cd8
commit 74fe24ef80
10 changed files with 427 additions and 423 deletions
@@ -21,6 +21,7 @@ public class ExtensionFunctionsTest extends CodegenTestCase {
public void testWhenFail() throws Exception {
loadFile();
// System.out.println(generateToText());
Method foo = generateFunction("foo");
assertThrows(foo, Exception.class, null, new StringBuilder());
}
@@ -7,6 +7,7 @@ package org.jetbrains.jet.codegen;
public class ObjectGenTest extends CodegenTestCase {
public void testSimpleObject() throws Exception {
blackBoxFile("objects/simpleObject.jet");
// System.out.println(generateToText());
}
public void testObjectLiteral() throws Exception {
@@ -134,6 +134,7 @@ public class PropertyGenTest extends CodegenTestCase {
public void testKt257 () throws Exception {
blackBoxFile("regressions/kt257.jet");
// System.out.println(generateToText());
}
public void testKt613 () throws Exception {