)]}'
{
  "commit": "8e874a30fcc4e0f091bd73b597d250a32033a879",
  "tree": "850abc8a329dd3c0ac356cf9d8880e7b78c178e7",
  "parents": [
    "adacb45b5c525c6e248050d281a58884073997e9"
  ],
  "author": {
    "name": "Sam Rawlins",
    "email": "srawlins@google.com",
    "time": "Mon Mar 24 09:18:54 2025 -0700"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Mar 24 09:18:54 2025 -0700"
  },
  "message": "DAS: Rearrange code to promote variables better\n\nThe motivation here was to remove the local duplicate variables,\n`isExpression_final` and `binary_final`. This variables only existed\nbecause the variables they duplicate lose their promoted types inside\nthe `builder.addDartFileEdit` closure. They lose their promoted types\nbecause they are multiply assigned.\n\nThis CL extracts the first portion of each `compute()` method, which\nis solely concerned with computing the real \"target\". The diff looks\nlarge because of how that portion is moved into a helper method that\nis _below_ the second half of `compute()`.\n\nI think each of these changes then improves readability: extracting\npart of a long method into one helper, and avoiding a local duplicate\nvariable.\n\nChange-Id: I6919b04a39dfc02f3b2f7b74727d3f576c71d37b\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/417022\nReviewed-by: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\nCommit-Queue: Samuel Rawlins \u003csrawlins@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e9bedaabd8d9d442991cd643b064f23ead6ab1f7",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart",
      "new_id": "51072f180b5355daf32ad985a48c62e6fb25f636",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart"
    },
    {
      "type": "modify",
      "old_id": "6207f221823503cd573726e69e0321031685703f",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart",
      "new_id": "1067a9ac486e675353f0b8ce49db413366dd1cfa",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart"
    }
  ]
}
