Turn off inlining. May be it'll help with KT-2314.

This commit is contained in:
Pavel V. Talanov
2012-07-02 17:28:27 +04:00
parent da24b36071
commit 4b15023aec
4 changed files with 42 additions and 9 deletions
@@ -26,7 +26,11 @@ import java.io.File;
/**
* @author Pavel Talanov
*/
public final class InlineTest extends SingleFileTranslationTest {
//TODO:
//Inlining turned off
@SuppressWarnings("UnusedDeclaration")
public abstract class InlineTest extends SingleFileTranslationTest {
public InlineTest() {
super("inline/");
}
@@ -61,6 +61,10 @@ public final class MiscTest extends AbstractExpressionTest {
checkFooBoxIsTrue("KT-1052-2.kt", EcmaVersion.all());
}
public void testKt2314() throws Exception {
checkFooBoxIsTrue("KT-2314.kt", EcmaVersion.all());
}
public void testKt1052() throws Exception {
checkOutput("KT-1052.kt", "true\n");
}