mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
overriddenDescriptors is empty for java static property and function declarations
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
This commit is contained in:
@@ -5,9 +5,9 @@ public/*package*/ open class Child : test.Parent1, test.Parent2 {
|
||||
|
||||
// Static members
|
||||
public const final override /*1*/ /*fake_override*/ val a: kotlin.Int
|
||||
public final override /*1*/ var b: kotlin.String
|
||||
public final var b: kotlin.String!
|
||||
public final var c: kotlin.Int
|
||||
public final override /*1*/ var d: kotlin.String
|
||||
public final var d: kotlin.String!
|
||||
public const final override /*1*/ /*fake_override*/ val e: kotlin.Int
|
||||
public open fun bar(): kotlin.Unit
|
||||
public open fun baz(): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user