From 72e128d3f3a9cb5a3070be79183ef5c2ae616f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Pl=C3=BCmicke?= Date: Tue, 28 Aug 2018 10:11:46 +0200 Subject: [PATCH] modified: test/javFiles/Fields.jav Typdeklaration von Filed test2 entfernt modified: test/typeinference/JavaTXCompilerTest.java Unittest LambdaFiled.java reingenommen --- test/javFiles/Fields.jav | 2 +- test/typeinference/JavaTXCompilerTest.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/javFiles/Fields.jav b/test/javFiles/Fields.jav index 1add83ca..cd2add71 100644 --- a/test/javFiles/Fields.jav +++ b/test/javFiles/Fields.jav @@ -1,7 +1,7 @@ import java.lang.String; class Fields{ -String test2 = "test"; +test2 = "test"; test; m(){ var test3; diff --git a/test/typeinference/JavaTXCompilerTest.java b/test/typeinference/JavaTXCompilerTest.java index b785c0dc..d3401a0b 100644 --- a/test/typeinference/JavaTXCompilerTest.java +++ b/test/typeinference/JavaTXCompilerTest.java @@ -23,7 +23,6 @@ import java.util.Set; public class JavaTXCompilerTest { public static final String rootDirectory = System.getProperty("user.dir")+"/test/javFiles/"; - @Test public void finiteClosure() throws IOException, ClassNotFoundException { execute(new File(rootDirectory+"fc.jav")); @@ -41,6 +40,10 @@ public class JavaTXCompilerTest { execute(new File(rootDirectory+"Lambda3.jav")); } @Test + public void lambdaField() throws IOException, ClassNotFoundException { + execute(new File(rootDirectory+"LambdaField.jav")); + } + @Test public void mathStruc() throws IOException, ClassNotFoundException { execute(new File(rootDirectory+"mathStruc.jav")); }