JS: do not alias 'this' literal in a receiver position

This commit is contained in:
Alexey Tsvetkov
2015-04-21 18:00:52 +03:00
parent 6b09b4c2b6
commit 900147385d
3 changed files with 26 additions and 1 deletions
@@ -53,6 +53,12 @@ public class InlineSizeReductionTestGenerated extends AbstractInlineSizeReductio
doTest(fileName);
}
@TestMetadata("this.kt")
public void testThis() throws Exception {
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/inlineSizeReduction/cases/this.kt");
doTest(fileName);
}
@TestMetadata("valAssignment.kt")
public void testValAssignment() throws Exception {
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/inlineSizeReduction/cases/valAssignment.kt");