mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +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
27 lines
856 B
Plaintext
Vendored
27 lines
856 B
Plaintext
Vendored
package test
|
|
|
|
public/*package*/ open class Child : test.Parent {
|
|
public/*package*/ constructor Child()
|
|
|
|
// Static members
|
|
public final override /*1*/ /*fake_override*/ var a: kotlin.Int
|
|
public final var b: kotlin.String!
|
|
public final var c: kotlin.Int
|
|
public open fun bar(): kotlin.Unit
|
|
public open fun bar(/*0*/ p0: kotlin.Int): kotlin.Unit
|
|
public open fun baz(): kotlin.Unit
|
|
public open fun baz(/*0*/ p0: kotlin.Int): kotlin.Unit
|
|
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
|
|
public open fun foo(/*0*/ p0: kotlin.Int): kotlin.Unit
|
|
}
|
|
|
|
public/*package*/ open class Parent {
|
|
public/*package*/ constructor Parent()
|
|
|
|
// Static members
|
|
public final var a: kotlin.Int
|
|
public final var b: kotlin.Int
|
|
public open fun baz(): kotlin.Unit
|
|
public open fun foo(): kotlin.Unit
|
|
}
|