mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
Load Java static members from parents
This commit is contained in:
19
compiler/testData/loadJava/compiledJava/static/StaticMembersFromParentInterface.java
vendored
Normal file
19
compiler/testData/loadJava/compiledJava/static/StaticMembersFromParentInterface.java
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package test;
|
||||
|
||||
interface Parent1 {
|
||||
public static int a = 1;
|
||||
public static int b = 2;
|
||||
}
|
||||
|
||||
interface Parent2 {
|
||||
public static int d = 1;
|
||||
public static int e = 2;
|
||||
}
|
||||
|
||||
class Child implements Parent1, Parent2 {
|
||||
public static String b = "3";
|
||||
public static int c = 4;
|
||||
public static String d = "4";
|
||||
public static void bar() {}
|
||||
public static void baz() {}
|
||||
}
|
||||
Reference in New Issue
Block a user