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
@@ -0,0 +1,10 @@
trait A : Collection<String>
trait B : List<String>
trait C : Map<Long, Double>
trait D : Map.Entry<Any, Nothing>
trait E : Iterator<Int>
fun box(): String {
trait F : A, B, C, D, E
return "OK"
}