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,10 @@
|
||||
interface Your
|
||||
|
||||
class My {
|
||||
internal val x = object : Your {}
|
||||
|
||||
internal fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>() = {
|
||||
class Local
|
||||
Local()
|
||||
}()
|
||||
}
|
||||
Reference in New Issue
Block a user