Exposed visibility deprecation warnings made errors + relevant test fixes

This commit is contained in:
Mikhail Glukhikh
2015-11-17 18:59:04 +03:00
parent e8e5d700d2
commit 4e44466cf9
63 changed files with 93 additions and 87 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class Foo(private val s: String) {
private inner class Inner {
inner class Inner {
private val x = {
this@Foo.s
}()
@@ -6,7 +6,7 @@ internal class B : A {
override fun foo() = "OK"
}
val global = B()
internal val global = B()
internal class C(x: Int) : A by global {
constructor(): this(1)