30f0e0f4d5
This extends the fix for https://github.com/dart-lang/language/issues/731 (improved inference for fold etc.) to cover situations where the function literal passed to an invocation is enclosed in (unnecessary) parentheses. Change-Id: I5eb40cf73336612e241a930122f8ae7b1c25bb2a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241021 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.