Don't generate bodies of built-in stub methods into interfaces

This commit is contained in:
Alexander Udalov
2014-02-24 15:20:23 +04:00
parent 33ffd3dfca
commit 4968afebf8
4 changed files with 39 additions and 17 deletions
@@ -477,6 +477,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/builtinStubMethods/Collection.kt");
}
@TestMetadata("dontGenerateBodyInTrait.kt")
public void testDontGenerateBodyInTrait() throws Exception {
doTest("compiler/testData/codegen/box/builtinStubMethods/dontGenerateBodyInTrait.kt");
}
@TestMetadata("Iterator.kt")
public void testIterator() throws Exception {
doTest("compiler/testData/codegen/box/builtinStubMethods/Iterator.kt");