[dart-lang/sdk] 6cc1bd: Add language tests of yield* downwards inference.

0 views
Skip to first unread message

Paul Berry

unread,
Apr 2, 2026, 2:17:49 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 6cc1bdb1ad8d41a90ca1464cfe7b7121749b14d2
https://github.com/dart-lang/sdk/commit/6cc1bdb1ad8d41a90ca1464cfe7b7121749b14d2
Author: Paul Berry <paul...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
A tests/language/async_star/yield_star_downwards_inference_test.dart
A tests/language/sync_star/yield_star_downwards_inference_test.dart

Log Message:
-----------
Add language tests of yield* downwards inference.

These tests cover the behaviors mentioned in
https://github.com/dart-lang/language/issues/4672.

Long term, I'm not certain whether these are the behaviors we
want. But considering that these are the behaviors we have, it seems
reasonable to test them to avoid regressions.

Paves the way for a follow-up CL that will refactor some of the
analyzer and front end logic that handles yield statements.

Change-Id: I6af8eb67dac588d90ed95e2536184c4a6a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491706
Reviewed-by: Erik Ernst <eer...@google.com>
Commit-Queue: Paul Berry <paul...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications

Keerti Parthasarathy

unread,
Apr 2, 2026, 3:29:21 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/lkgr
Home: https://github.com/dart-lang/sdk
Commit: 6cc1bdb1ad8d41a90ca1464cfe7b7121749b14d2
https://github.com/dart-lang/sdk/commit/6cc1bdb1ad8d41a90ca1464cfe7b7121749b14d2
Author: Paul Berry <paul...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
A tests/language/async_star/yield_star_downwards_inference_test.dart
A tests/language/sync_star/yield_star_downwards_inference_test.dart

Log Message:
-----------
Add language tests of yield* downwards inference.

These tests cover the behaviors mentioned in
https://github.com/dart-lang/language/issues/4672.

Long term, I'm not certain whether these are the behaviors we
want. But considering that these are the behaviors we have, it seems
reasonable to test them to avoid regressions.

Paves the way for a follow-up CL that will refactor some of the
analyzer and front end logic that handles yield statements.

Change-Id: I6af8eb67dac588d90ed95e2536184c4a6a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491706
Reviewed-by: Erik Ernst <eer...@google.com>
Commit-Queue: Paul Berry <paul...@google.com>


Commit: 55418d4f31b31cd5857fa57316e56caca1fc8047
https://github.com/dart-lang/sdk/commit/55418d4f31b31cd5857fa57316e56caca1fc8047
Author: Keerti Parthasarathy <kee...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/linter/test/rules/deprecated_member_use_from_same_package_test.dart

Log Message:
-----------
[primary cosntructors]Add tests for deprecated_member_use_from_same_package

Bug: https://github.com/dart-lang/sdk/issues/63024
Change-Id: I465dfa9b574bc52a18cabdd104e6bb5f4ed1a0bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492540
Commit-Queue: Keerti Parthasarathy <kee...@google.com>
Reviewed-by: Brian Wilkerson <brianwi...@google.com>


Compare: https://github.com/dart-lang/sdk/compare/9ee3a0449720...55418d4f31b3
Reply all
Reply to author
Forward
0 new messages