Loading functions from superclasses before current to avoid heisenbug.

Added test with two supertypes.

 #KT-2776 in progress
This commit is contained in:
Evgeny Gerashchenko
2012-11-02 21:10:00 +04:00
parent 494345ce10
commit e2d213f1fd
4 changed files with 45 additions and 2 deletions
@@ -84,6 +84,12 @@ public final class LoadJavaCustomTest extends KotlinTestWithEnvironment {
PATH + "/" + getTestName(true) + ".java");
}
public void testKotlinSignatureTwoSuperclassesInconsistentGenericTypes() throws Exception {
String dir = PATH + "/kotlinSignature/";
doTest(dir + "TwoSuperclassesInconsistentGenericTypes.txt",
dir + "TwoSuperclassesInconsistentGenericTypes.java");
}
//TODO: move to LoadJavaTestGenerated when possible
public void testEnum() throws Exception {
String dir = PATH + "/enum";