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:
parent
071f4cd9ca
commit
723eca8658
@ -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));
|
||||
|
@ -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) {
|
||||
|
@ -14,7 +14,7 @@ call(String s){}
|
||||
|
||||
}
|
||||
|
||||
class Pair<A,B>{
|
||||
A left;
|
||||
B right;
|
||||
class Pair{
|
||||
left;
|
||||
right;
|
||||
}
|
@ -8,7 +8,7 @@ class Test{
|
||||
}
|
||||
|
||||
interface Klasse1{
|
||||
Klasse1 meth(List p);
|
||||
Klasse1 meth(p);
|
||||
Klasse1 meth(Klasse2 p);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user