Closed
Description
Right now generic function calls are only supported for the MethodInvocation AST node, which applies to method calls like o.m<t>(...)
and function calls like f<t>(...)
We need to support these:
- tear offs, e.g.
o.m
- instantiated tear offs, e.g.
o.m<t>
- instantiation of the function type, e.g.
var y = f<int>;
- function expression invocation, e.g.
(f)(1, 2)
or(f)<int>(1, 2)
- generic function expression, e.g.
<T>(T x) => x