KT-5425 Kotlin plugin crashes when project uses RxJava 17.0 or older
#KT-5425 Fixed
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// FILE: j/OnSubscribe.java
|
||||
package j;
|
||||
|
||||
public interface OnSubscribe<T> {
|
||||
void f();
|
||||
}
|
||||
|
||||
// FILE: j/Observable.java
|
||||
package j;
|
||||
|
||||
public class Observable<T> {
|
||||
|
||||
protected Observable(OnSubscribe<T> f) {
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
import j.*
|
||||
|
||||
class K : Observable<String>({})
|
||||
@@ -5151,6 +5151,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/recursiveRawUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samInConstructorWithGenerics.kt")
|
||||
public void testSamInConstructorWithGenerics() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/samInConstructorWithGenerics.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/Simple.kt");
|
||||
|
||||
Reference in New Issue
Block a user