Files
sdk/tests/language
Erik Ernst 3263555dc5 Start implementation of anonymous block methods
This CL introduces support for anonymous block methods (that is,
`e.{ print(this); }` as opposed to `e.=> print(this);`). It introduces
the notion of a `ReturnContext` which is used to change the semantics
of a return statement when it returns from an anonymous method (where
it works like a `break` that terminates the execution of the block
which is the body of the enclosing anonymous method), but keeps the
semantics of return statements returning from a function (including
function literals) still have the same semantics as today.

Change-Id: I404459361fbb7c2e495e46d1bd29924063f3aac4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/503800
SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2026-05-27 06:04:46 -07:00
..
2024-12-13 10:52:25 -08:00
2024-12-20 02:39:21 -08:00
2025-02-26 10:39:51 -08:00
2025-02-05 08:36:21 -08:00
2025-02-05 08:36:21 -08:00
2025-02-19 04:21:42 -08:00
2025-02-19 04:21:42 -08:00
2025-11-14 03:01:16 -08:00
2025-09-30 06:52:53 -07:00
2025-02-11 15:31:25 -08:00
2026-03-20 09:09:46 -07:00