mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 00:21:31 +00:00
Fake overrides are still created for java static with non-empty overriddenDescriptors Add tests for inheriting visibility for java static members Add test: check that java static declarations that shadow deprecated declarations should not be deprecated Add test for corner case where "overriding" java static constant led to incorrect type in inheritor Fix test data for existing tests
12 lines
213 B
Java
Vendored
12 lines
213 B
Java
Vendored
package test;
|
|
|
|
class Parent {
|
|
private static int private_ = 1;
|
|
static int packagePrivate_ = 2;
|
|
protected static int protected_ = 3;
|
|
public static int public_ = 4;
|
|
}
|
|
|
|
class Child extends Parent {
|
|
}
|