Report "cannot infer visibility" for delegated members

This commit is contained in:
Alexander Udalov
2014-04-17 19:46:37 +04:00
parent 369472a6e2
commit 5e138a606b
4 changed files with 17 additions and 3 deletions
@@ -0,0 +1,9 @@
trait A {
internal fun foo()
}
trait B {
protected fun foo()
}
class <!CANNOT_INFER_VISIBILITY!>E(a: A)<!> : A by a, B