modified: src/test/java/typeinference/JavaTXCompilerTest.java

modified:   src/test/resources/javFiles/IfTest.jav
	modified:   src/test/resources/javFiles/ListenerOverload.jav
	modified:   src/test/resources/javFiles/fc.jav
This commit is contained in:
pl@gohorb.ba-horb.de 2020-04-14 18:28:16 +02:00
parent 071f4cd9ca
commit 723eca8658
4 changed files with 6 additions and 6 deletions

View File

@ -135,7 +135,7 @@ public class JavaTXCompilerTest {
}
List<ResultSet> results = compiler.typeInference();
List<GenericGenratorResultForSourceFile> simplifyResultsForAllSourceFiles = compiler.getGeneratedGenericResultsForAllSourceFiles(results);
//compiler.generateBytecode(rootDirectory+"xxx.class", results, simplifyResultsForAllSourceFiles);
for(File f : compiler.sourceFiles.keySet()){
SourceFile sf = compiler.sourceFiles.get(f);
System.out.println(ASTTypePrinter.print(sf));

View File

@ -2,7 +2,7 @@ import java.lang.Integer;
import java.lang.Boolean;
import java.lang.Object;
public class IfTest{
public class IfTest {
Object m1(b) {
Integer i;
if(b) {

View File

@ -14,7 +14,7 @@ call(String s){}
}
class Pair<A,B>{
A left;
B right;
class Pair{
left;
right;
}

View File

@ -8,7 +8,7 @@ class Test{
}
interface Klasse1{
Klasse1 meth(List p);
Klasse1 meth(p);
Klasse1 meth(Klasse2 p);
}