mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 15:51:54 +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
22 lines
800 B
Plaintext
Vendored
22 lines
800 B
Plaintext
Vendored
package test
|
|
|
|
public/*package*/ open class Child : test.Parent {
|
|
public/*package*/ constructor Child()
|
|
|
|
// Static members
|
|
public/*package*/ final override /*1*/ /*fake_override*/ var packagePrivate_: kotlin.Int
|
|
invisible_fake final override /*1*/ /*fake_override*/ var private_: kotlin.Int
|
|
protected/*protected static*/ final override /*1*/ /*fake_override*/ var protected_: kotlin.Int
|
|
public final override /*1*/ /*fake_override*/ var public_: kotlin.Int
|
|
}
|
|
|
|
public/*package*/ open class Parent {
|
|
public/*package*/ constructor Parent()
|
|
|
|
// Static members
|
|
public/*package*/ final var packagePrivate_: kotlin.Int
|
|
private final var private_: kotlin.Int
|
|
protected/*protected static*/ final var protected_: kotlin.Int
|
|
public final var public_: kotlin.Int
|
|
}
|