Remove unnecessary TODO comment.

This comment was meant as a note to myself as part of the
implementation of https://dart-review.googlesource.com/c/sdk/+/243002.
I accidentally forgot to delete it even though I added the necessary
test cases (`testLaterUnnamedParameterDependsOnNamedParameter` and
`testEarlierNamedParameterDependsOnUnnamedParameter` in
`tests/language/inference_update_1/horizontal_inference_enabled_test.dart`).

Change-Id: I80f0c63fa19256a4cd3fa657578124fa9bddf6d4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243845
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2022-05-06 14:40:40 +00:00 committed by Commit Bot
parent 4d77e3e645
commit d5635390aa

View file

@ -124,7 +124,6 @@ Map<Object, DartType> _computeParameterMap(FunctionType functionType) => {
/// parameters that were *not* deferred.
List<_ParamInfo> _computeUndeferredParamInfo(List<DartType> formalTypes,
List<_DeferredParamInfo> deferredFunctionLiterals) {
// TODO(paulberry): test that the right thing happens when evaluation order differs from classic (positional/named) order.
Set<int> evaluationOrderIndicesAlreadyCovered = {
for (_DeferredParamInfo functionLiteral in deferredFunctionLiterals)
functionLiteral.evaluationOrderIndex