Open
Description
For simplicity of the backends I would expect that the method Something.invoke
below would be represented in the Kernel AST as (this.delegate).call(value)
. However currently it is represented as a method invocation of this.delegate(value)
instead.
class Callable<T> {
void call(T value) {}
}
class Something<T> {
Callable<T> delegate;
void invoke(T value) { delegate(value); }
}
For simplicity on the backend site