Closed chfeiler closed 5 years ago
Hello!
I came accross the situation in which a Function<T, R> has to be transpiled. The functional interface is defined as follows:
Function<T, R>
SomeClass::someNonStaticMethod
The expected output of the transpiler would be:
(x) => { return x.someNonStaticMethod() }
The actual result is however:
() => { return SomeClass.someNonStaticMethod() }
The actual result will cause an error since the method is not static.
Indeed, +1
Hello!
I came accross the situation in which a
Function<T, R>
has to be transpiled. The functional interface is defined as follows:The expected output of the transpiler would be:
The actual result is however:
The actual result will cause an error since the method is not static.