@@ -1,4 +0,0 @@
|
|||||||
package test;
|
|
||||||
|
|
||||||
public abstract class ClassWithTypePExtendsIterableP<P> implements java.lang.Iterable<P> {
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package test;
|
||||||
|
|
||||||
|
public abstract class ClassTypeTypePRefSuper<P> implements java.lang.Iterable<P> {
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package test
|
package test
|
||||||
|
|
||||||
public abstract class ClassWithTypePExtendsIterableP<P>() : java.lang.Iterable<P> {
|
public abstract class ClassTypeTypePRefSuper<P>() : java.lang.Iterable<P> {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace test
|
namespace test
|
||||||
|
|
||||||
public abstract class test.ClassWithTypePExtendsIterableP</*0*/ P : jet.Any?> : java.lang.Iterable<P> {
|
public abstract class test.ClassTypeTypePRefSuper</*0*/ P : jet.Any?> : java.lang.Iterable<P> {
|
||||||
public abstract override /*1*/ fun iterator(): java.util.Iterator<P>?
|
public abstract override /*1*/ fun iterator(): java.util.Iterator<P>
|
||||||
public final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.ClassWithTypePExtendsIterableP<P>
|
public final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.ClassTypeTypePRefSuper<P>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,8 +64,7 @@ public class CliTest {
|
|||||||
private void executeCompilerCompareOutput(@NotNull String[] args) {
|
private void executeCompilerCompareOutput(@NotNull String[] args) {
|
||||||
try {
|
try {
|
||||||
String actual = normalize(executeCompilerGrabOutput(args))
|
String actual = normalize(executeCompilerGrabOutput(args))
|
||||||
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$")
|
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$");
|
||||||
.replace("\\", "/");
|
|
||||||
|
|
||||||
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));
|
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ import java.util.Collections;
|
|||||||
/**
|
/**
|
||||||
* @author abreslav
|
* @author abreslav
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractLazyResolveTest {
|
public class AbstractLazyResolveTest {
|
||||||
private final Disposable rootDisposable = new Disposable() {
|
private final Disposable rootDisposable = new Disposable() {
|
||||||
@Override
|
@Override
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
@@ -48,7 +48,7 @@ public abstract class AbstractLazyResolveTest {
|
|||||||
};
|
};
|
||||||
|
|
||||||
protected final CompilerDependencies
|
protected final CompilerDependencies
|
||||||
compilerDependencies = CompileCompilerDependenciesTest.compilerDependenciesForTests(CompilerSpecialMode.JDK_HEADERS, true);
|
compilerDependencies = CompileCompilerDependenciesTest.compilerDependenciesForTests(CompilerSpecialMode.REGULAR, true);
|
||||||
protected final JetCoreEnvironment jetCoreEnvironment = new JetCoreEnvironment(rootDisposable, compilerDependencies);
|
protected final JetCoreEnvironment jetCoreEnvironment = new JetCoreEnvironment(rootDisposable, compilerDependencies);
|
||||||
protected final Project project = jetCoreEnvironment.getProject();
|
protected final Project project = jetCoreEnvironment.getProject();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user