mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Lazy light classes: fix visibility modifier in case of inherited protected visibility
This commit is contained in:
@@ -10,3 +10,4 @@ class C: Tr {
|
||||
override val v = 1
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -6,4 +6,6 @@ interface Base {
|
||||
|
||||
class C : Base {
|
||||
override fun foo(): Unit {}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -6,4 +6,5 @@ interface Base<T> {
|
||||
|
||||
class C : Base<Unit> {
|
||||
override fun foo(t: Unit) {}
|
||||
}
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
Reference in New Issue
Block a user