Exposed visibility checking, a set of exposed visibility tests, some test fixes
Effective visibility mechanism introduced. Local is considered as public, java protected as Kotlin protected, java package private as Kotlin private.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
fa32aa2950
commit
0cc861f00b
@@ -1,18 +1,18 @@
|
||||
// FILE: Base.java
|
||||
|
||||
interface Base {}
|
||||
public interface Base {}
|
||||
|
||||
// FILE: Other.java
|
||||
|
||||
interface Other {}
|
||||
public interface Other {}
|
||||
|
||||
// FILE: Derived.java
|
||||
|
||||
final class Derived<T> implements Base, Other {}
|
||||
public final class Derived<T> implements Base, Other {}
|
||||
|
||||
// FILE: Exotic.java
|
||||
|
||||
final class Exotic implements Base, Other {
|
||||
public final class Exotic implements Base, Other {
|
||||
|
||||
int x;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user