Resolve compileTimeInitializer for variable in lazy resolve

This commit is contained in:
Natalia Ukhorskaya
2014-02-21 13:54:57 +04:00
parent 89d99d2848
commit 4a8bcc614a
13 changed files with 133 additions and 32 deletions
@@ -48,6 +48,11 @@ public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionT
doConstantTest("compiler/testData/evaluate/constant/compareTo.kt");
}
@TestMetadata("differentTypes.kt")
public void testDifferentTypes() throws Exception {
doConstantTest("compiler/testData/evaluate/constant/differentTypes.kt");
}
@TestMetadata("divideByZero.kt")
public void testDivideByZero() throws Exception {
doConstantTest("compiler/testData/evaluate/constant/divideByZero.kt");
@@ -546,6 +546,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestCompiledJavaCompareWithKotlin("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassDoesNotOverrideMethod.java");
}
@TestMetadata("ClassWithConstVal.java")
public void testClassWithConstVal() throws Exception {
doTestCompiledJavaCompareWithKotlin("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassWithConstVal.java");
}
@TestMetadata("ClassWithTypeP.java")
public void testClassWithTypeP() throws Exception {
doTestCompiledJavaCompareWithKotlin("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassWithTypeP.java");
@@ -1509,6 +1509,11 @@ public class LazyResolveRecursiveComparingTestGenerated extends AbstractLazyReso
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassDoesNotOverrideMethod.kt");
}
@TestMetadata("ClassWithConstVal.kt")
public void testClassWithConstVal() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassWithConstVal.kt");
}
@TestMetadata("ClassWithTypeP.kt")
public void testClassWithTypeP() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/compiledJavaCompareWithKotlin/ClassWithTypeP.kt");