JS backend: fixed ability to declare custom name for native properties and function parameters.

#KT-3643 fixed
This commit is contained in:
Zalim Bashorov
2013-10-25 15:28:18 +04:00
parent 3e205d162e
commit d6803fb5ff
7 changed files with 119 additions and 11 deletions
@@ -88,4 +88,8 @@ public final class NativeInteropTest extends SingleFileTranslationTest {
public void testKt2323() throws Exception {
fooBoxTest();
}
public void testNativePropertyWithCustomName() throws Exception {
checkFooBoxIsOk();
}
}
@@ -94,6 +94,10 @@ public final class PropertyAccessTest extends SingleFileTranslationTest {
fooBoxTest();
}
public void testNativePropertiesNameClashes() throws Exception {
checkFooBoxIsOk();
}
@Override
@NotNull
protected List<String> additionalJSFiles(@NotNull EcmaVersion ecmaVersion) {