KT-46049 Java-Kotlin sealed inheritors inspection: false positive for type parameter
^KT-46049 Fixed
This commit is contained in:
Vendored
+2
@@ -8,6 +8,8 @@ public class JavaTriesToExtendKotlinSealed {
|
||||
interface OkToExtend extends KotlinInterface {}
|
||||
class OkToExtendClass extends KotlinClass{}
|
||||
|
||||
public <OkTypeParam extends KotlinSealedClass> void getSealed() {}
|
||||
|
||||
public static void main(String[] args) {
|
||||
KotlinSealedInterface sealedInterface = new KotlinSealedInterface() {}; // anonymouns class implements interface
|
||||
KotlinSealedClass sealedClass = new KotlinSealedClass() {};
|
||||
|
||||
Reference in New Issue
Block a user