Effective visibility: local is now considered private, TYPE_DEPENDS_ON_LOCAL_CLASS diagnostics removed as repeated #KT-9542 Fixed #KT-9526 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-10-14 11:25:58 +03:00
parent 3a902d6002
commit 9c9ab671b3
18 changed files with 205 additions and 117 deletions
@@ -0,0 +1,12 @@
interface Your
class My {
// private from local: ???
private val x = object : Your {}
// private from local: ???
private fun foo() = {
class Local
Local()
}()
}