[L] Change in dart/sdk[main]: [cfe] Merge Resolver.buildFieldInitializer1/2

0 views
Skip to first unread message

Chloe Stefantsova (Gerrit)

unread,
6:20 AM (3 hours ago) 6:20 AM
to Johnni Winther, Chloe Stefantsova, Commit Queue, dart-fe-te...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther

Chloe Stefantsova voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 5
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Mon, 29 Sep 2025 10:20:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Johnni Winther (Gerrit)

unread,
6:30 AM (3 hours ago) 6:30 AM
to Alexander Thomas, Lasse Nielsen, Chloe Stefantsova, Commit Queue, dart-fe-te...@google.com, rev...@dartlang.org
Attention needed from Alexander Thomas and Lasse Nielsen

Johnni Winther added 1 comment

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Johnni Winther . resolved

@athom for pkg/test_runner
@lrn for language tests

Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Thomas
  • Lasse Nielsen
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 5
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Alexander Thomas <at...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Lasse Nielsen <l...@google.com>
Gerrit-Attention: Alexander Thomas <at...@google.com>
Gerrit-Attention: Lasse Nielsen <l...@google.com>
Gerrit-Comment-Date: Mon, 29 Sep 2025 10:30:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Alexander Thomas (Gerrit)

unread,
6:35 AM (3 hours ago) 6:35 AM
to Johnni Winther, Lasse Nielsen, Chloe Stefantsova, Commit Queue, dart-fe-te...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Lasse Nielsen

Alexander Thomas voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Lasse Nielsen
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 5
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Alexander Thomas <at...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Lasse Nielsen <l...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Attention: Lasse Nielsen <l...@google.com>
Gerrit-Comment-Date: Mon, 29 Sep 2025 10:34:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Lasse Nielsen (Gerrit)

unread,
6:48 AM (3 hours ago) 6:48 AM
to Johnni Winther, Alexander Thomas, Chloe Stefantsova, Commit Queue, dart-fe-te...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther

Lasse Nielsen voted and added 1 comment

Votes added by Lasse Nielsen

Code-Review+1

1 comment

Patchset-level comments
Lasse Nielsen . resolved

Rubberstamp.
Seems the only visible change is to remove a "not a const" error from something that is also another error.

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 5
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Alexander Thomas <at...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Lasse Nielsen <l...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Mon, 29 Sep 2025 10:48:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Johnni Winther (Gerrit)

unread,
6:53 AM (3 hours ago) 6:53 AM
to Lasse Nielsen, Alexander Thomas, Chloe Stefantsova, Commit Queue, dart-fe-te...@google.com, rev...@dartlang.org

Johnni Winther voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 5
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Alexander Thomas <at...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Lasse Nielsen <l...@google.com>
Gerrit-Comment-Date: Mon, 29 Sep 2025 10:53:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Commit Queue (Gerrit)

unread,
6:53 AM (3 hours ago) 6:53 AM
to Johnni Winther, Lasse Nielsen, Alexander Thomas, Chloe Stefantsova, dart-fe-te...@google.com, rev...@dartlang.org

Commit Queue submitted the change

Change information

Commit message:
[cfe] Merge Resolver.buildFieldInitializer1/2

This update computation of implicit field types to return the inferred initializer. The ensure that we only compute the initializer once, and allows us to merge two pipelines for compute the field type and initializer.
Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Reviewed-by: Chloe Stefantsova <cstefa...@google.com>
Reviewed-by: Alexander Thomas <at...@google.com>
Reviewed-by: Lasse Nielsen <l...@google.com>
Commit-Queue: Johnni Winther <johnni...@google.com>
Files:
  • M pkg/front_end/lib/src/fragment/enum_element.dart
  • M pkg/front_end/lib/src/fragment/field/body_builder_context.dart
  • M pkg/front_end/lib/src/fragment/field/declaration.dart
  • M pkg/front_end/lib/src/fragment/fragment.dart
  • M pkg/front_end/lib/src/fragment/primary_constructor_field.dart
  • M pkg/front_end/lib/src/kernel/body_builder.dart
  • M pkg/front_end/lib/src/kernel/expression_generator.dart
  • M pkg/front_end/lib/src/kernel/expression_generator_helper.dart
  • M pkg/front_end/lib/src/kernel/implicit_field_type.dart
  • M pkg/front_end/lib/src/kernel/resolver.dart
  • M pkg/front_end/lib/src/type_inference/closure_context.dart
  • M pkg/front_end/lib/src/type_inference/inference_visitor.dart
  • M pkg/front_end/lib/src/type_inference/type_inferrer.dart
  • M pkg/front_end/testcases/general/constants/issue_43431.dart.strong.outline.expect
  • M pkg/front_end/testcases/general/constants/various.dart.strong.expect
  • M pkg/front_end/testcases/general/constants/various.dart.strong.modular.expect
  • M pkg/front_end/testcases/general/constants/various.dart.strong.outline.expect
  • M pkg/front_end/testcases/general/constants/various.dart.strong.transformed.expect
  • M pkg/test_runner/test/update_error_cmdline_test.dart
  • M tests/language/compile_time_constant/compile_time_constant_test.dart
  • M tests/language/final/initializer_instance_reference_test.dart
  • M tests/language/method/not_found_test.dart
Change size: L
Delta: 22 files changed, 265 insertions(+), 268 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Lasse Nielsen, +1 by Chloe Stefantsova, +1 by Alexander Thomas
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I6005e19cc3dec9c717e426f06d817e2d45edcff1
Gerrit-Change-Number: 451480
Gerrit-PatchSet: 6
Gerrit-Owner: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Alexander Thomas <at...@google.com>
Gerrit-Reviewer: Chloe Stefantsova <cstefa...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages