Lazy light classes: fix visibility modifier in case of inherited protected visibility

This commit is contained in:
Pavel V. Talanov
2017-03-24 16:52:03 +03:00
parent a81bac0b50
commit a2511232ab
4 changed files with 21 additions and 4 deletions

View File

@@ -10,3 +10,4 @@ class C: Tr {
override val v = 1
}
// LAZINESS:NoLaziness

View File

@@ -6,4 +6,6 @@ interface Base {
class C : Base {
override fun foo(): Unit {}
}
}
// LAZINESS:NoLaziness

View File

@@ -6,4 +6,5 @@ interface Base<T> {
class C : Base<Unit> {
override fun foo(t: Unit) {}
}
}
// LAZINESS:NoLaziness