JavaCompilerCore/resources/bytecode/javFiles/Bug297.jav
Daniel Holle c07d4d36e9
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m51s
Fix wrong type conversion, see #297
2024-03-18 12:14:03 +01:00

11 lines
213 B
Java

import java.lang.Integer;
public class Bug297 {
public static operation(func, a, b) {
return func.apply(a, b);
}
public exec() {
return Foo.operation((x, y) -> x + y, 10, 10);
}
}