modified: test/bytecode/javFiles/Lambda.jav

modified:   test/javFiles/Vector.jav
	modified:   test/typeinference/UnifyTest.java
This commit is contained in:
Martin Plümicke 2018-07-02 11:11:29 +02:00
parent 9123e222f4
commit e0c5afcd6d
3 changed files with 16 additions and 4 deletions

View File

@ -7,8 +7,8 @@ public class Lambda {
var lam1 = (x) -> {
return x;
};
// return lam1.apply(new Apply());
return lam1;
return lam1.apply(new Apply());
//return lam1;
// return new Vector();
}
}

View File

@ -1,4 +1,5 @@
import java.util.ArrayList;
import java.util.Vector;
import java.lang.Object;
class MyVector{
@ -8,6 +9,15 @@ id(x){
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
x.add(i);
return x;
}
}

View File

@ -35,10 +35,12 @@ public class UnifyTest {
}
*/
/*
@Test
public void vector() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Vector.jav"));
}
*/
/*
@Test
@ -79,7 +81,7 @@ public class UnifyTest {
}
*/
/*
@Test
public void matrix() throws IOException, ClassNotFoundException {
@ -87,7 +89,7 @@ public class UnifyTest {
//JavaTXCompiler compiler = new JavaTXCompiler(new File(rootDirectory+"Matrix.jav"));
//compiler.generateBytecode();
}
*/
/*
@Test