Fehler in Test beheben

This commit is contained in:
JanUlrich 2017-05-09 20:15:42 +02:00
parent 4261ce2603
commit 43bfc551ff
2 changed files with 4 additions and 4 deletions

View File

@ -12,6 +12,6 @@ class Methods {
class Test {
f;
add(){}
add(b){}
add(b){return b;}
sub(b){}
}

View File

@ -17,10 +17,10 @@ public class JavaTXCompilerTest {
@Test
public void test() throws IOException, ClassNotFoundException {
JavaTXCompiler compiler = new JavaTXCompiler();
//compiler.parse(new File(rootDirectory+"Methods.jav"));
compiler.parse(new File(rootDirectory+"Methods.jav"));
//compiler.parse(new File(rootDirectory+"Generics.jav"));
//compiler.parse(new File(rootDirectory+"MethodsEasy.jav"));
compiler.parse(new File(rootDirectory+"Lambda.jav"));
//compiler.parse(new File(rootDirectory+"Lambda.jav"));
compiler.typeInference();
}
}