[dart-lang/sdk] 968f56: [analyzer] Rename BodyInferenceContext.{isAsynchro...

0 views
Skip to first unread message

Paul Berry

unread,
Apr 2, 2026, 7:12:22 PM (21 hours ago) Apr 2
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 968f56c8b7ed5048874bc91cbc56b820010668a0
https://github.com/dart-lang/sdk/commit/968f56c8b7ed5048874bc91cbc56b820010668a0
Author: Paul Berry <paul...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/analyzer/lib/src/dart/resolver/body_inference_context.dart
M pkg/analyzer/lib/src/dart/resolver/yield_statement_resolver.dart

Log Message:
-----------
[analyzer] Rename BodyInferenceContext.{isAsynchronous,isSynchronous}.

The new names, `isAsync` and `isSync`, are better aligned with the
code in `front_end` and `_fe_analyzer_shared`, and with the
terminology used by the language itself.

There is no analyzer public API change, since the
`BodyInferenceContext` is not part of the API.

Change-Id: Iefdf9ccec9432e4c284f971033a41d456a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492721
Commit-Queue: Paul Berry <paul...@google.com>
Reviewed-by: Konstantin Shcheglov <sche...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications
Reply all
Reply to author
Forward
0 new messages