Check for exposed local classes (or objects) in type signatures
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class One {
|
||||
private class One {
|
||||
val a1 = arrayOf(
|
||||
object { val fy = "text"}
|
||||
)}
|
||||
)
|
||||
}
|
||||
|
||||
fun box() = if (One().a1[0].fy == "text") "OK" else "fail"
|
||||
Reference in New Issue
Block a user