[dart-lang/sdk] cd7e32: DeCo. Report const_primary_constructor_with_block_...

0 views
Skip to first unread message

Konstantin Scheglov

unread,
Apr 2, 2026, 7:06:08 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: cd7e32217fb58b018b97389140bad09101454967
https://github.com/dart-lang/sdk/commit/cd7e32217fb58b018b97389140bad09101454967
Author: Konstantin Shcheglov <sche...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/_fe_analyzer_shared/lib/src/messages/diagnostic.g.dart
M pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
M pkg/_fe_analyzer_shared/messages.yaml
M pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml
M pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart
M pkg/analyzer/lib/src/diagnostic/diagnostic_code_values.g.dart
M pkg/analyzer/lib/src/generated/error_verifier.dart
M pkg/analyzer/messages.yaml
M pkg/analyzer/test/src/dart/resolution/enum_test.dart
M pkg/analyzer/test/src/diagnostics/constructor_body_test.dart
M pkg/analyzer/test/src/diagnostics/invalid_reference_to_this_test.dart
A tests/language/primary_constructors/syntax/body_modifier_error_test.dart

Log Message:
-----------
DeCo. Report const_primary_constructor_with_block_body,
const_primary_constructor_with_expression_body, primary_constructor_body_with_expression_body, primary_constructor_body_with_modifier

Bug: https://github.com/dart-lang/language/pull/4671
Change-Id: I4eb8326a2f01ee7c3a47f08fe897eb702ba994d5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492281
Commit-Queue: Konstantin Shcheglov <sche...@google.com>
Reviewed-by: Brian Wilkerson <brianwi...@google.com>
Reviewed-by: Paul Berry <paul...@google.com>



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

Ildeberto Vasconcelos

unread,
Apr 2, 2026, 8:17:34 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/lkgr
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>


Commit: 37bf6b5f7f2dd3ae7a86e60eb2e0666e1db4adbb
https://github.com/dart-lang/sdk/commit/37bf6b5f7f2dd3ae7a86e60eb2e0666e1db4adbb
Author: Jason Simmons <jsim...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M sdk/lib/_internal/vm/lib/vm_internal.gni

Log Message:
-----------
[vm] Add some missing files to the vm_internal_sdk_sources list

vm_internal_sdk_sources lists source files that will be distributed in
the Flutter sky_engine package and made available to Flutter debuggers.

TEST=manual Flutter build

Bug: https://github.com/flutter/flutter/issues/184333
Change-Id: I33270c43496b6e3c662890bbb88dba1b9b5125e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492662
Reviewed-by: Alexander Aprelev <a...@google.com>
Commit-Queue: Jason Simmons <jsim...@google.com>


Commit: f4a8c29237b0a18f3b874896c348dd25fe325caa
https://github.com/dart-lang/sdk/commit/f4a8c29237b0a18f3b874896c348dd25fe325caa
Author: Ildeberto Vasconcelos <ildeb...@gmail.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/linter/messages.yaml

Log Message:
-----------
[linter ]Add diagnostic docs for avoid_annotating_with_dynamic

Closes https://github.com/dart-lang/sdk/pull/62986

GitOrigin-RevId: 3c386cab3ed13f5f3ee3c72be7c4bd8ac7517f28
Change-Id: Ia6d083707dfcb55685165f2cf282846dcd7ce5c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491002
Reviewed-by: Connie Ooi <conn...@google.com>
Commit-Queue: Brian Wilkerson <brianwi...@google.com>
Reviewed-by: Brian Wilkerson <brianwi...@google.com>


Compare: https://github.com/dart-lang/sdk/compare/89da5e82b9e7...f4a8c29237b0

copybara-service[bot]

unread,
12:10 AM (21 hours ago) 12:10 AM
to com...@dartlang.org
Branch: refs/heads/dev
Commit: 46f49142acd9c3f939e0d28c7924619f9c55e487
https://github.com/dart-lang/sdk/commit/46f49142acd9c3f939e0d28c7924619f9c55e487
Author: Dart CI <dart-inte...@dart-ci-internal.iam.gserviceaccount.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/_fe_analyzer_shared/lib/src/messages/diagnostic.g.dart
M pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
M pkg/_fe_analyzer_shared/messages.yaml
M pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml
M pkg/analyzer/lib/src/dart/resolver/body_inference_context.dart
M pkg/analyzer/lib/src/dart/resolver/yield_statement_resolver.dart
M pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart
M pkg/analyzer/lib/src/diagnostic/diagnostic_code_values.g.dart
M pkg/analyzer/lib/src/generated/error_verifier.dart
M pkg/analyzer/messages.yaml
M pkg/analyzer/test/src/dart/resolution/enum_test.dart
M pkg/analyzer/test/src/diagnostics/constructor_body_test.dart
M pkg/analyzer/test/src/diagnostics/invalid_reference_to_this_test.dart
M pkg/linter/messages.yaml
M sdk/lib/_internal/vm/lib/vm_internal.gni
A tests/language/primary_constructors/syntax/body_modifier_error_test.dart
M tools/VERSION

Log Message:
-----------
Version 3.12.0-316.0.dev

Merge f4a8c29237b0a18f3b874896c348dd25fe325caa into dev


Compare: https://github.com/dart-lang/sdk/compare/3c7a79045b8b...46f49142acd9

copybara-service[bot]

unread,
12:57 AM (20 hours ago) 12:57 AM
to com...@dartlang.org
Branch: refs/heads/lkgr-dev
Reply all
Reply to author
Forward
0 new messages