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

View File

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

View File

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

View File

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