new file: test/javFiles/LambdaField.jav

modified:   test/typeinference/UnifyTest.java
Lambda-Ausdruck als Attribute/field eingefuegt
This commit is contained in:
Martin Plümicke 2018-04-26 15:10:23 +02:00
parent 8be4f94edf
commit ec2b501e63
2 changed files with 13 additions and 3 deletions

View File

@ -0,0 +1,6 @@
public class LambdaField {
f = x -> x;
}

View File

@ -28,10 +28,12 @@ public class UnifyTest {
public void finiteClosure() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"fc.jav"));
}
*/
@Test
public void lambda() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Lambda.jav"));
execute(new File(rootDirectory+"LambdaField.jav"));
}
/*
@Test
public void lambda2() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Lambda2.jav"));
@ -58,12 +60,14 @@ public class UnifyTest {
public void facultyTyped() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"FacultyTyped.jav"));
}
*/
@Test
public void matrix() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Matrix.jav"));
//JavaTXCompiler compiler = new JavaTXCompiler(new File(rootDirectory+"Matrix.jav"));
//compiler.generateBytecode();
}
/*
@Test
public void vector() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Vector.jav"));