Fix for KT-5495: Support method implementations in local traits

#KT-5495 Fixed
This commit is contained in:
Michael Bogdanov
2014-10-07 11:43:02 +04:00
parent 212d3da950
commit c3cfe33b64
5 changed files with 52 additions and 17 deletions
@@ -0,0 +1,9 @@
fun box(): String {
trait A {
fun foo() = "OK"
}
class B : A
return B().foo()
}