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:
@@ -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()
|
||||
}()
|
||||
}
|
||||
Reference in New Issue
Block a user