[cfe] Implement generic method instantiation on call
of function object
#47147
Labels
legacy-area-front-end
Legacy: Use area-dart-model instead.
Thanks to @sgrekhov for raising this issue. As part of the constructor-tearoffs feature, it is no longer a compile-time error to perform a generic method instantiation on the
call
method of an expression whose static type is a generic function type. For instance:The analyzer accepts this program as it should, but the CFE (
dart
from commit 02b2e6c) rejects it with the following error message:This issue is concerned with the implementation of support for doing this.
The text was updated successfully, but these errors were encountered: