From 0b7aea21d927c6cc0294bbd7079ecc4b2f3dcc62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Pl=C3=BCmicke?= Date: Tue, 8 May 2018 18:52:43 +0200 Subject: [PATCH] modified: ../../test/bytecode/LambdaTest.java modified: ../../test/bytecode/javFiles/Lambda2.jav --- test/bytecode/LambdaTest.java | 2 +- test/bytecode/javFiles/Lambda2.jav | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/test/bytecode/LambdaTest.java b/test/bytecode/LambdaTest.java index f29690cb..12e16829 100644 --- a/test/bytecode/LambdaTest.java +++ b/test/bytecode/LambdaTest.java @@ -13,7 +13,7 @@ public class LambdaTest { @Test public void generateBC() throws Exception { - path = System.getProperty("user.dir")+"/test/bytecode/javFiles/Lambda.jav"; + path = System.getProperty("user.dir")+"/test/bytecode/javFiles/Lambda2.jav"; fileToTest = new File(path); compiler = new JavaTXCompiler(fileToTest); compiler.generateBytecode(); diff --git a/test/bytecode/javFiles/Lambda2.jav b/test/bytecode/javFiles/Lambda2.jav index fbcdaf55..92f32b71 100644 --- a/test/bytecode/javFiles/Lambda2.jav +++ b/test/bytecode/javFiles/Lambda2.jav @@ -1,3 +1,4 @@ +import java.lang.String; public class Lambda2 { @@ -23,10 +24,12 @@ public static List map(List input, Function func) { } class List{ - A get(); + /* A get(); void add(A); + */ } - +/* class Function{ B apply(A a); -} \ No newline at end of file +} +*/ \ No newline at end of file