forked from JavaTX/JavaCompilerCore
modified: test/bytecode/javFiles/Lambda.jav
Lambda auf apply angepasst
This commit is contained in:
parent
0ecaf36648
commit
d8bb4d6188
@ -1,11 +1,12 @@
|
||||
import java.lang.Integer;
|
||||
class Apply { }
|
||||
|
||||
public class Lambda {
|
||||
|
||||
m () {
|
||||
var lam1 = (Integer x) -> {
|
||||
var lam1 = (x) -> {
|
||||
return x;
|
||||
};
|
||||
return lam1.apply(1);
|
||||
return lam1.apply(new Apply());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user