testcase for EA-37609
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
public abstract class AbstractClass<T> {
|
||||||
|
public abstract val some: T
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Class: AbstractClass<String>() {
|
||||||
|
public override val some: String
|
||||||
|
get() = "OK"
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String = Class().some
|
||||||
@@ -55,6 +55,11 @@ public class BridgeMethodGenTest extends CodegenTestCase {
|
|||||||
blackBoxFile("bridges/methodFromTrait.kt");
|
blackBoxFile("bridges/methodFromTrait.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testOverrideAbstractProperty() {
|
||||||
|
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||||
|
blackBoxFile("bridges/overrideAbstractProperty.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testSimple() {
|
public void testSimple() {
|
||||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||||
blackBoxFile("bridges/simple.kt");
|
blackBoxFile("bridges/simple.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user