KT-1519: Error calling native extension function from user defined extension function.

This commit is contained in:
pTalanov
2012-03-13 15:17:36 +04:00
parent 15437cbbf6
commit 8b984551c1
6 changed files with 76 additions and 5 deletions
@@ -62,4 +62,8 @@ public final class ExtensionFunctionTest extends SingleFileTranslationTest {
public void testGenericExtension() throws Exception {
checkFooBoxIsOk("generic.kt");
}
public void testExtensionFunctionCalledFromExtensionFunction() throws Exception {
checkFooBoxIsTrue("extensionFunctionCalledFromExtensionFunction.kt");
}
}
@@ -57,4 +57,8 @@ public final class NativeInteropTest extends SingleFileTranslationTest {
public void testUndefined() throws Exception {
checkFooBoxIsTrue("undefined.kt");
}
public void testKt1519() throws Exception {
checkFooBoxIsTrue("KT-1519.kt");
}
}