e05ce41c0d
This CL adds an implementation of anonymous `=>` methods in the CFE which is sufficiently complete to handle the existing test cases in language/anonymous_methods/expression. Coverage is handled by adding magic comments to ignore the fact that new code is not covered by existing testcases. This will be settled in a separate CL. To keep the failures visible, the failures in configurations dart2js-hostasserts-linux-d8-try, dart2js-linux-chrome-try, dart2js-minified-linux-d8-try, and ddc-linux-chrome-try have not been approved. It seems likely to me that those are bugs in dart2js and in DDC. Change-Id: Ia70fedd4de6166d6a3bf8a108f49728b6e16c9f6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/494440 Commit-Queue: Erik Ernst <eernst@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.